Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.
TypeScript
Run workflows that call Claude on the egress-firewall runner in auto permission mode
Claude592d541c187d
diff --git a/.github/workflows/claude-dedupe-issues.yml b/.github/workflows/claude-dedupe-issues.ymlindex cfbdf2db..4a80dc61 100644--- a/.github/workflows/claude-dedupe-issues.yml+++ b/.github/workflows/claude-dedupe-issues.yml@@ -12,7 +12,9 @@ on:jobs:claude-dedupe-issues:- runs-on: ubuntu-latest+ # This job calls Claude, so it runs on GitHub's egress-firewall runner, which+ # filters the job's outbound network traffic (allow list: .github/egress-firewall.yaml).+ runs-on: ubuntu-24.04-firewalltimeout-minutes: 10permissions:contents: read@@ -40,7 +42,10 @@ jobs:anthropic_organization_id: ${{ vars.ANTHROPIC_ORGANIZATION_ID }}anthropic_service_account_id: ${{ vars.ANTHROPIC_SERVICE_ACCOUNT_ID }}anthropic_workspace_id: ${{ vars.ANTHROPIC_WORKSPACE_ID }}- claude_args: "--model claude-sonnet-4-5-20250929"+ # --permission-mode auto: a tool call that needs permission and is outside the allowed-tools+ # list in .claude/commands/dedupe.md runs only if Claude Code's safety review passes it.+ # Tools in --disallowedTools never run.+ claude_args: '--model claude-sonnet-4-5-20250929 --permission-mode auto --disallowedTools "WebFetch,WebSearch,Write,Edit,MultiEdit,NotebookEdit"'- name: Log duplicate comment event to Statsigif: always()diff --git a/.github/workflows/claude-issue-triage.yml b/.github/workflows/claude-issue-triage.ymlindex 6c667e2d..765a5cd8 100644--- a/.github/workflows/claude-issue-triage.yml+++ b/.github/workflows/claude-issue-triage.yml@@ -7,7 +7,9 @@ on:jobs:triage-issue:- runs-on: ubuntu-latest+ # This job calls Claude, so it runs on GitHub's egress-firewall runner, which+ # filters the job's outbound network traffic (allow list: .github/egress-firewall.yaml).+ runs-on: ubuntu-24.04-firewalltimeout-minutes: 10if: >-github.event_name == 'issues' ||@@ -43,5 +45,10 @@ jobs:anthropic_organization_id: ${{ vars.ANTHROPIC_ORGANIZATION_ID }}anthropic_service_account_id: ${{ vars.ANTHROPIC_SERVICE_ACCOUNT_ID }}anthropic_workspace_id: ${{ vars.ANTHROPIC_WORKSPACE_ID }}+ # --permission-mode auto: a tool call that needs permission and is outside the allowed-tools+ # list in .claude/commands/triage-issue.md runs only if Claude Code's safety review passes+ # it. Tools in --disallowedTools never run.claude_args: |+ --permission-mode auto+ --disallowedTools "WebFetch,WebSearch,Write,Edit,MultiEdit,NotebookEdit"--model claude-opus-4-6diff --git a/.github/workflows/claude.yml b/.github/workflows/claude.ymlindex e2348761..277ccdec 100644--- a/.github/workflows/claude.yml+++ b/.github/workflows/claude.yml@@ -17,7 +17,9 @@ jobs:(github.event_name == 'pull_request_review_comment' && contains(github.event.comment.body, '@claude')) ||(github.event_name == 'pull_request_review' && contains(github.event.review.body, '@claude')) ||(github.event_name == 'issues' && (contains(github.event.issue.body, '@claude') || contains(github.event.issue.title, '@claude')))- runs-on: ubuntu-latest+ # This job calls Claude, so it runs on GitHub's egress-firewall runner, which+ # filters the job's outbound network traffic (allow list: .github/egress-firewall.yaml).+ runs-on: ubuntu-24.04-firewallpermissions:contents: readpull-requests: read