Skip to content

Allow Claude to run 'go mod tidy' in GitHub Actions#846

Merged
statik merged 4 commits intomainfrom
fix-claude-permissions-go-mod-tidy
Oct 4, 2025
Merged

Allow Claude to run 'go mod tidy' in GitHub Actions#846
statik merged 4 commits intomainfrom
fix-claude-permissions-go-mod-tidy

Conversation

@statik
Copy link
Member

@statik statik commented Oct 4, 2025

Summary

  • Adds --allowed-tools configuration to permit Claude Code to automatically run go mod tidy commands without requiring manual approval
  • Runs go mod tidy to update dependencies

Context

Fixes the permission issue described in PR #833 where Claude was unable to run go mod tidy automatically due to security restrictions.

Test plan

  • Verify Claude can now run go mod tidy in PR comments without approval
  • Check that the workflow still works correctly for other commands

🤖 Generated with Claude Code

statik and others added 3 commits October 3, 2025 22:42
Adds --allowed-tools configuration to permit Claude Code to automatically
run 'go mod tidy' commands without requiring manual approval. This fixes
the permission issue described in PR #833.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Adds CLAUDE.md with instructions to always add labels when creating PRs.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@statik statik enabled auto-merge October 4, 2025 02:52
Signed-off-by: Elliot Murphy <statik@users.noreply.github.com>
@statik statik merged commit a8de528 into main Oct 4, 2025
6 checks passed
@statik statik deleted the fix-claude-permissions-go-mod-tidy branch October 4, 2025 03:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant