ci: pass allowed tools through claude args (#1552)

This commit is contained in:
Minh Vu
2026-08-07 07:57:29 -07:00
committed by GitHub
parent 4c4309a064
commit 5dd098c551
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -31,7 +31,7 @@ jobs:
anthropic_federation_rule_id: ${{ vars.ANTHROPIC_FEDERATION_RULE_ID }}
anthropic_organization_id: ${{ vars.ANTHROPIC_ORGANIZATION_ID }}
anthropic_service_account_id: ${{ vars.ANTHROPIC_SERVICE_ACCOUNT_ID }}
allowed_tools: "LS,Read"
claude_args: '--allowedTools "LS,Read"'
- name: Verify inline prompt output
run: |
@@ -90,7 +90,7 @@ jobs:
anthropic_federation_rule_id: ${{ vars.ANTHROPIC_FEDERATION_RULE_ID }}
anthropic_organization_id: ${{ vars.ANTHROPIC_ORGANIZATION_ID }}
anthropic_service_account_id: ${{ vars.ANTHROPIC_SERVICE_ACCOUNT_ID }}
allowed_tools: "LS,Read"
claude_args: '--allowedTools "LS,Read"'
- name: Verify prompt file output
run: |
@@ -59,7 +59,7 @@ jobs:
anthropic_service_account_id: ${{ vars.ANTHROPIC_SERVICE_ACCOUNT_ID }}
path_to_claude_code_executable: /home/runner/.local/bin/claude
path_to_bun_executable: /home/runner/.bun/bin/bun
allowed_tools: "LS,Read"
claude_args: '--allowedTools "LS,Read"'
- name: Verify custom executables worked
run: |