Skip to content

Commit 86d99df

Browse files
fix: upgrade Claude AI workflow to ai-workflows@v2.0.0 (#34987)
## Summary - Upgrades `ai_claude-orchestrator.yml` from `ai-workflows@v1.0.0` to `@v2.0.0` - Migrates breaking input changes from the `claude-code-action@v1` GA release - Validated and working in `dotCMS/core-workflow-test` ## Changes | Before | After | |--------|-------| | `direct_prompt:` | `prompt:` | | `allowed_tools:` (multiline list) | `claude_args:` (CLI flag string) | | `@v1.0.0` | `@v2.0.0` | ## Test plan - [x] Validated in `dotCMS/core-workflow-test` — automatic PR review and rollback safety check both passing - [x] Verify interactive (`@claude`) mention works on a PR in this repo (Fails cuz it has to be in main before it works) - [ ] Verify automatic review fires on a normal PR 🤖 Generated with [Claude Code](https://claude.com/claude-code) fixes #34988 Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 3b33a33 commit 86d99df

1 file changed

Lines changed: 5 additions & 9 deletions

File tree

.github/workflows/ai_claude-orchestrator.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,10 @@ jobs:
8080
)
8181
)
8282
)
83-
uses: dotCMS/ai-workflows/.github/workflows/claude-orchestrator.yml@v1.0.0
83+
uses: dotCMS/ai-workflows/.github/workflows/claude-orchestrator.yml@v2.0.0
8484
with:
8585
trigger_mode: interactive
86-
allowed_tools: |
87-
Bash(git status)
88-
Bash(git diff)
86+
claude_args: '--allowedTools "Bash(git status),Bash(git diff)"'
8987
timeout_minutes: 15
9088
runner: ubuntu-latest
9189
enable_mention_detection: true # Uses built-in @claude mention detection
@@ -110,14 +108,12 @@ jobs:
110108
!contains(github.event.pull_request.body, '@claude') &&
111109
!contains(github.event.pull_request.body, '@Claude') &&
112110
!contains(github.event.pull_request.body, '@CLAUDE')
113-
uses: dotCMS/ai-workflows/.github/workflows/claude-orchestrator.yml@v1.0.0
111+
uses: dotCMS/ai-workflows/.github/workflows/claude-orchestrator.yml@v2.0.0
114112
with:
115113
trigger_mode: automatic
116-
direct_prompt: |
114+
prompt: |
117115
Review this PR. Flag anything that looks wrong, risky, or worth a second look: bad assumptions, missing edge cases, design problems, security issues. Skip praise. If it is clean, say so in one line.
118-
allowed_tools: |
119-
Bash(git status)
120-
Bash(git diff)
116+
claude_args: '--allowedTools "Bash(git status),Bash(git diff)"'
121117
timeout_minutes: 15
122118
runner: ubuntu-latest
123119
enable_mention_detection: false

0 commit comments

Comments
 (0)