Skip to content

Skip Claude Code Review on Copilot-authored PRs to prevent weekly-review CI failures - #142

Closed
stanfish06 with Copilot wants to merge 2 commits into
masterfrom
copilot/weekly-review-2026-w31
Closed

stanfish06 with Copilot wants to merge 2 commits into
masterfrom
copilot/weekly-review-2026-w31

Conversation

Copilot AI commented Jul 27, 2026 •

Copy link
Copy Markdown
Contributor

The weekly repo review automation opens Copilot-authored PRs, and those PRs were triggering Claude Code Review runs that consistently failed due to repository write-access constraints in the action token flow. This change scopes the review workflow so it runs for human-authored PRs while avoiding the known failing Copilot path.

  • What changed

    • Added a job-level guard in .github/workflows/claude-code-review.yml:
      • if: github.event.pull_request.user.login != 'Copilot'
    • No other workflow behavior was changed.
  • Behavioral impact

    • Claude Code Review continues to run on regular PRs.
    • Copilot-generated weekly-review PRs no longer trigger this workflow, eliminating the repeated unauthorized-run failures.
  • Config snippet

    jobs:
      claude-review:
        if: github.event.pull_request.user.login != 'Copilot'
        runs-on: ubuntu-latest
        ...

Copilot AI linked an issue Jul 27, 2026 that may be closed by this pull request
Copilot AI changed the title [WIP] Review weekly repo changes and open issues Skip Claude Code Review on Copilot-authored PRs to prevent weekly-review CI failures Jul 27, 2026
Copilot AI requested a review from stanfish06 July 27, 2026 12:18
@stanfish06

Copy link
Copy Markdown
Owner

Moot: weekly-repo-review.yml removed in 211e6e0, so Copilot no longer opens weekly PRs.

@stanfish06 stanfish06 closed this Oct 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Weekly repo review – 2026-W31

2 participants