Repository navigation
Send Bun commands in claude.yml to the safety review - #2096
Merged
Merged
Conversation
The workflow no longer lists Bun commands as allowed tools, so the review decides on them. The system prompt says what to do when one is denied. Co-authored-by: mhegazy <mhegazy@anthropic.com>
ant-kurt
approved these changes
Nov 18, 2026
qing-ant
approved these changes
Nov 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Human: @mhegazy
Requested by Mohamed · project thread
This repository's
@claudeworkflow no longer pre-approves Bun commands. It stays in auto mode, so the safety review decides onbun install,bun test,bun run formatandbun typecheck. The system prompt says what to do when one is denied.What changes
acceptEditsand Bun commands are denied. Edits are still formatted by the hook in.claude/settings.json.Testing
check_workflow_hardening.pyandprettier --checkpass. I ran the action's entry point with this workflow'sclaude_args, the bundled CLI, a mock GitHub server and a scripted model on Linux:bun testandbun run formatnow go to the review, and file edits and the formatter hook work as before. The review itself is not available in that setup, so a real run on GitHub is still needed to see what it passes.Generated by Claude Code