Compare commits

...
Author SHA1 Message Date
Bailey Dixon 1635cd7fd8 "Update Claude Code Review workflow" 2026-06-15 12:30:48 -04:00
Bailey Dixon 8fe6e4b30f "Update Claude PR Assistant workflow" 2026-06-15 12:30:46 -04:00
+1 -16
View File
@@ -17,36 +17,21 @@ jobs:
# github.event.pull_request.user.login == 'external-contributor' ||
# github.event.pull_request.user.login == 'new-developer' ||
# github.event.pull_request.author_association == 'FIRST_TIME_CONTRIBUTOR'
runs-on: ubuntu-latest
timeout-minutes: 20
permissions:
contents: read
pull-requests: read
issues: read
id-token: write
env:
# Any dev -> main PR is, by the branching model, the aggregate release PR
# (main only ever receives release merges from dev). Detect it by base+head
# alone — a title-format match (e.g. "release:") is fragile and silently
# let a "Release v1.0.0 …"-titled PR run the full review and time out.
IS_RELEASE_PR: ${{ github.event.pull_request.base.ref == 'main' && github.event.pull_request.head.ref == 'dev' }}
steps:
- name: Skip aggregate release PR review
if: env.IS_RELEASE_PR == 'true'
run: |
echo "Skipping Claude Code Review for aggregate dev -> main release PR."
echo "Feature work is reviewed before it lands on dev; release PRs are gated by CI and release metadata checks."
- name: Checkout repository
if: env.IS_RELEASE_PR != 'true'
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Run Claude Code Review
if: env.IS_RELEASE_PR != 'true'
timeout-minutes: 15
id: claude-review
uses: anthropics/claude-code-action@v1
with: