Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/pr-bot-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ jobs:
poll-and-review:
runs-on: ubuntu-latest
timeout-minutes: 5
# On pull_request events from forks, GITHUB_TOKEN is read-only, so writing
# the commit status 403s and the run fails. Skip the event-driven path for
# fork PRs — the scheduled cron (full permissions) still reviews them.
# schedule/workflow_dispatch always run; same-repo PRs run on the event.
if: >-
github.event_name != 'pull_request' ||
github.event.pull_request.head.repo.full_name == github.repository
steps:
- name: Find PRs needing review
id: poll
Expand Down
Loading