Skip to content

Commit b0f6602

Browse files
fix(ai): Claude workflows
1 parent 138293d commit b0f6602

4 files changed

Lines changed: 12 additions & 3 deletions

File tree

.github/workflows/_claude-code.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ on:
2626
required: false
2727
default: 'mcp__github_inline_comment__create_inline_comment,Read,Write,Edit,MultiEdit,Glob,Grep,LS,WebFetch,WebSearch,Bash(git:*),Bash(bun:*),Bash(npm:*),Bash(npx:*),Bash(gh:*),Bash(uv:*),Bash(make:*),Bash(export:*)'
2828
type: string
29+
track_progress:
30+
description: 'Track progress (set to false for workflow_dispatch)'
31+
required: false
32+
default: true
33+
type: boolean
2934
secrets:
3035
ANTHROPIC_API_KEY:
3136
required: true
@@ -103,8 +108,9 @@ jobs:
103108
if: inputs.mode == 'interactive'
104109
uses: anthropics/claude-code-action@v1
105110
with:
111+
github_token: ${{ secrets.GITHUB_TOKEN }}
106112
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
107-
track_progress: true
113+
track_progress: ${{ inputs.track_progress }}
108114
additional_permissions: |
109115
actions: read
110116
allowed_bots: "dependabot[bot],renovate[bot]"
@@ -113,13 +119,13 @@ jobs:
113119
--model claude-sonnet-4-5-20250929
114120
--allowed-tools "${{ inputs.allowed_tools }}"
115121
--system-prompt "Read the CLAUDE.md file in this repository and explicitely acknowledge you will apply the guidance therein."
116-
117122
- name: Run Claude Code (Automation Mode)
118123
if: inputs.mode == 'automation'
119124
uses: anthropics/claude-code-action@v1.0.13
120125
with:
126+
github_token: ${{ secrets.GITHUB_TOKEN }}
121127
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
122-
track_progress: true
128+
track_progress: ${{ inputs.track_progress }}
123129
additional_permissions: |
124130
actions: read
125131
allowed_bots: "dependabot[bot],renovate[bot]"

.github/workflows/claude-code-automation-operational-excellence.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
with:
2222
platform_environment: ${{ inputs.platform_environment || 'staging' }}
2323
mode: 'automation'
24+
track_progress: ${{ github.event_name != 'workflow_dispatch' && true || false }}
2425
allowed_tools: 'Read,Write,Edit,Glob,Grep,LS,Bash(git:*),Bash(gh:*)'
2526
prompt: |
2627
# 🎯 AI-POWERED OPERATIONAL EXCELLENCE AUDIT

.github/workflows/claude-code-automation-pr-review.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
with:
2121
platform_environment: ${{ inputs.platform_environment || 'staging' }}
2222
mode: 'automation'
23+
track_progress: ${{ github.event_name != 'workflow_dispatch' && true || false }}
2324
allowed_tools: 'mcp__github_inline_comment__create_inline_comment,Read,Write,Edit,MultiEdit,Glob,Grep,LS,WebFetch,WebSearch,Bash(git:*),Bash(bun:*),Bash(npm:*),Bash(npx:*),Bash(gh:*),Bash(uv:*),Bash(make:*)'
2425
prompt: |
2526
# PR REVIEW FOR AIGNOSTICS PYTHON SDK

.github/workflows/claude-code-interactive.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ jobs:
3535
with:
3636
platform_environment: ${{ inputs.platform_environment || 'staging' }}
3737
mode: 'interactive'
38+
track_progress: ${{ github.event_name != 'workflow_dispatch' && true || false }}
3839
secrets:
3940
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
4041
AIGNOSTICS_CLIENT_ID_DEVICE_STAGING: ${{ secrets.AIGNOSTICS_CLIENT_ID_DEVICE_STAGING }}

0 commit comments

Comments
 (0)