Skip to content

Comments

Allow git commands in Claude workflow#266

Merged
netanelgilad merged 1 commit intomainfrom
netanelgilad-patch-1
Feb 18, 2026
Merged

Allow git commands in Claude workflow#266
netanelgilad merged 1 commit intomainfrom
netanelgilad-patch-1

Conversation

@netanelgilad
Copy link
Contributor

@netanelgilad netanelgilad commented Feb 18, 2026

Note

Description

This PR expands the allowed tools for Claude in the GitHub Actions workflow by adding git command permissions. Previously, Claude could only run bun and gh commands. Now it can also execute git operations, enabling more comprehensive automation capabilities within the workflow.

Related Issue

None

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):

Changes Made

  • Added Bash(git:*) to the allowedTools configuration in .github/workflows/claude.yml
  • Fixed a syntax error in the YAML (missing comma after the previous allowed tool)
  • This allows Claude to execute any git command during workflow runs

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 docs/ (AGENTS.md) if I made architectural changes

Additional Notes

This change enables Claude to perform git operations such as checking status, viewing diffs, managing branches, and other version control tasks within the automated workflow. The change is minimal and focused on expanding Claude's capabilities without modifying any application logic.


🤖 Generated by Claude | 2026-02-18 00:00 UTC

Added git command permission to Claude's allowed tools.
@github-actions
Copy link
Contributor

🚀 Package Preview Available!


Install this PR's preview build with npm:

npm i @base44-preview/cli@0.0.32-pr.266.84fc9f3

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.32-pr.266.84fc9f3"

Or add it to your package.json dependencies:

{
  "dependencies": {
    "base44": "npm:@base44-preview/cli@0.0.32-pr.266.84fc9f3"
  }
}

Preview published to npm registry — try new features instantly!

@netanelgilad netanelgilad merged commit b664f4f into main Feb 18, 2026
10 checks passed
@netanelgilad netanelgilad deleted the netanelgilad-patch-1 branch February 18, 2026 15:18
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.

3 participants