Skip to content

Conversation

@Paveltarno
Copy link
Collaborator

@Paveltarno Paveltarno commented Feb 11, 2026

Note

Description

This PR updates the Claude GitHub Action workflow to grant Bash permissions for running bun commands and GitHub CLI commands (gh pr, gh issue). This enables Claude to automatically fix lint issues, run type checks, execute tests, and interact with GitHub pull requests and issues when tagged on pull requests.

Related Issue

Addresses comment in PR #228 where Claude couldn't run development tools to fix PR issues.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Refactoring (no functional changes)
  • Other (please describe): CI/CD workflow improvement

Changes Made

  • Removed generic commented-out documentation about claude_args
  • Added claude_args configuration to enable Bash permissions for:
    • All bun commands (install, lint, typecheck, test, etc.)
    • All gh pr commands (view, edit, comment, etc.)
    • All gh issue commands (list, view, create, etc.)
  • Added inline comment explaining the purpose of the permission grants

Testing

  • I have tested these changes locally
  • I have added/updated tests as needed
  • All tests pass (npm test)

Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation (if applicable)
  • My changes generate no new warnings
  • I have updated AGENTS.md if I made architectural changes

Additional Notes

This is a workflow configuration change that affects the Claude GitHub Action bot's capabilities. The allowed commands enable Claude to:

  • Run development tasks (bun install, bun run lint:fix, bun run typecheck, bun test)
  • Manage pull requests (gh pr view, gh pr edit, etc.)
  • Manage issues (gh issue list, gh issue view, etc.)

🤖 Generated by Claude | 2026-02-11 11:25 UTC

@github-actions
Copy link
Contributor

github-actions bot commented Feb 11, 2026

🚀 Package Preview Available!


Install this PR's preview build with npm:

npm i @base44-preview/cli@0.0.31-pr.229.9e308e0

Prefer not to change any import paths? Install using npm alias so your code still imports base44:

npm i "base44@npm:@base44-preview/cli@0.0.31-pr.229.9e308e0"

Or add it to your package.json dependencies:

{
  "dependencies": {
    "base44": "npm:@base44-preview/cli@0.0.31-pr.229.9e308e0"
  }
}

Preview published to npm registry — try new features instantly!

Enable Bash permissions for bun commands (install, build, lint,
typecheck, test) so Claude can fix lint/type issues on PRs.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@Paveltarno Paveltarno force-pushed the add-claude-bun-permissions branch from b9f5f28 to 64a3c9a Compare February 11, 2026 09:46
Paveltarno and others added 2 commits February 11, 2026 11:48
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Use Bash(bun:*) instead of Bash(bun *) per claude-code-action docs.
Comma-separate tools in a single --allowedTools flag.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@Paveltarno Paveltarno changed the title ci: allow Claude bot to run bun commands ci: allow Claude bot to run bun + gh commands Feb 11, 2026
@Paveltarno Paveltarno merged commit 5b14fc1 into main Feb 11, 2026
7 checks passed
@Paveltarno Paveltarno deleted the add-claude-bun-permissions branch February 11, 2026 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant