Files
shelfmark/.github/workflows/jules-pr-reviewer.yml
T
CaliBrain c5af6b9ae6 ci(jules): review the whole PR diff, not just the latest push (#1529)
jules-pr-reviewer v0.0.2 reviewed only before...head on synchronize.
After
"Update branch" merged main into fork PRs, that range was main's
commits, so
of their own changes. v0.0.3 of the calibrain fork always reviews the
PR's
full diff. Also correct the fork workflow comment: jules-forks has no
required reviewers by design, so runs don't wait for approval.
2026-10-22 03:20:45 -04:00

28 lines
884 B
YAML

name: Jules PR Review
# Reviews PRs whose branch lives in this repo. Fork PRs get no secrets under
# pull_request and Dependabot runs get only Dependabot secrets, so
# JULES_API_KEY would be empty for both; jules-pr-reviewer-forks.yml reviews
# fork PRs instead.
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
permissions: {}
concurrency:
group: jules-review-${{ github.event.pull_request.number }}
cancel-in-progress: true
jobs:
review:
if: github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]'
runs-on: ubuntu-latest
permissions:
pull-requests: write
contents: read
checks: write
steps:
- uses: calibrain/jules-pr-reviewer@v0.0.3
with:
jules_api_key: ${{ secrets.JULES_API_KEY }}
github_token: ${{ secrets.GITHUB_TOKEN }}