Commit 95c2077
Pass --allowed-tools to security-audit's Claude invocation
The default tool allowlist in claude-code-action excludes Bash and
Write, so the auditing prompt's attempts to run `gh api` and produce
the report files were denied 38 times in run 26306994059. Claude
exited with a "success" subtype despite the denials, so the workflow
proceeded without audit-status.txt and the issue-reporting step
treated it as a failure.
Pass --allowed-tools "Read,Write,Edit,Bash,Grep,Glob" via the action's
claude_args input so the audit can actually exercise the tools the
prompt asks for.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 833fdbb commit 95c2077
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
45 | 52 | | |
46 | 53 | | |
47 | 54 | | |
| |||
0 commit comments