diff --git a/.github/workflows/ai_claude-backend-reviewer.yml b/.github/workflows/ai_claude-backend-reviewer.yml index 7c9134553080..0787281c8f1b 100644 --- a/.github/workflows/ai_claude-backend-reviewer.yml +++ b/.github/workflows/ai_claude-backend-reviewer.yml @@ -93,6 +93,13 @@ jobs: timeout_minutes: 30 runner: ubuntu-latest enable_mention_detection: false + # No progress comment: claude-code-action finds the comment to reuse by + # "authored by the Claude app bot" with no per-workflow marker, so this + # review would grab — and overwrite — the code review comment posted by + # ai_claude-orchestrator.yml (#36761). STEP 5 below upserts this review's + # own comment, so it needs no comment of + # its own. Only the code-review orchestrator owns a sticky comment. + track_progress: false claude_args: >- --allowedTools "Agent,Bash(git diff*),Bash(git log*),Bash(git show*),Bash(cat CLAUDE.md*),Bash(cat docs/backend/*),Bash(cat docs/core/*),Bash(cat dotCMS/src/*),Bash(find dotCMS/src -name '*.java'*),Bash(grep -rn dotCMS/src*),Bash(gh pr comment*),Bash(gh pr review*),Bash(gh api repos/${{ github.repository }}/issues/${{ github.event.pull_request.number }}/comments*),Bash(gh api repos/${{ github.repository }}/issues/comments/*),Bash(jq*)" diff --git a/.github/workflows/ai_claude-rollback-safety.yml b/.github/workflows/ai_claude-rollback-safety.yml index 2481d0e20f7d..0aff04309418 100644 --- a/.github/workflows/ai_claude-rollback-safety.yml +++ b/.github/workflows/ai_claude-rollback-safety.yml @@ -91,6 +91,13 @@ jobs: model_id: ${{ vars.BEDROCK_MODEL_ID }} bedrock_role_arn: ${{ vars.BEDROCK_ROLE_ARN }} trigger_mode: automatic + # No progress comment: claude-code-action finds the comment to reuse by + # "authored by the Claude app bot" with no per-workflow marker, so this + # check would grab — and overwrite — the code review comment posted by + # ai_claude-orchestrator.yml (#36761). This check reports through a label, + # plus its own comment when the change is unsafe, so it needs no comment + # of its own. Only the code-review orchestrator owns a sticky comment. + track_progress: false prompt: | You are a dotCMS rollback-safety analyst. Determine whether the changes in this PR are safe to roll back to the previous release.