From f4b7309523973ec6c6288d570dde6792d4da0640 Mon Sep 17 00:00:00 2001 From: Henry Park Date: Mon, 9 Mar 2026 17:59:59 -0700 Subject: [PATCH] fix(ci): cherry-pick CI cleanup onto staging [skip-regression-check] (#798) Cherry-pick of #794: remove continue-on-error hack, skip redundant checks on staging PRs, allow ironclaw-ci[bot] in Claude Code review. Co-authored-by: Claude Opus 4.6 --- .github/workflows/claude-review.yml | 1 + .github/workflows/code_style.yml | 2 ++ .github/workflows/staging-ci.yml | 2 -- .github/workflows/test.yml | 2 ++ 4 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/claude-review.yml b/.github/workflows/claude-review.yml index 86d1bb2f..24d2fe98 100644 --- a/.github/workflows/claude-review.yml +++ b/.github/workflows/claude-review.yml @@ -28,6 +28,7 @@ jobs: uses: anthropics/claude-code-action@v1 with: anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} + allowed_bots: "ironclaw-ci[bot]" claude_args: "--max-turns 50 --model claude-haiku-4-5-20251001 --allowedTools 'Bash(gh pr comment:*),Bash(gh pr diff:*),Bash(gh pr view:*),Bash(gh pr list:*),Bash(gh issue view:*),Bash(gh issue list:*),Bash(gh search:*),Bash(git blame:*),Bash(git log:*),Bash(git diff:*)'" prompt: | Code review this pull request. Follow these steps precisely: diff --git a/.github/workflows/code_style.yml b/.github/workflows/code_style.yml index 526c7740..c65aa0df 100644 --- a/.github/workflows/code_style.yml +++ b/.github/workflows/code_style.yml @@ -1,6 +1,8 @@ name: Code Style on: pull_request: + branches: + - main jobs: format: diff --git a/.github/workflows/staging-ci.yml b/.github/workflows/staging-ci.yml index 22d70030..8e3693b2 100644 --- a/.github/workflows/staging-ci.yml +++ b/.github/workflows/staging-ci.yml @@ -115,7 +115,6 @@ jobs: - name: Generate GitHub App token id: app-token - continue-on-error: true uses: actions/create-github-app-token@v2 with: app-id: ${{ secrets.GH_RELEASES_MANAGER_APP_ID }} @@ -230,7 +229,6 @@ jobs: - name: Generate GitHub App token id: app-token - continue-on-error: true uses: actions/create-github-app-token@v2 with: app-id: ${{ secrets.GH_RELEASES_MANAGER_APP_ID }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index efa28648..bb29dd2a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,6 +2,8 @@ name: Run Tests on: workflow_call: pull_request: + branches: + - main push: branches: - main