Repository navigation
drift-check.yml: the refresh PR's own run waits for approval - #27
Conversation
The header comment said a pull request opened with GITHUB_TOKEN does not trigger this workflow's pull_request run. It does start the run, but the repository's approval policy (all external contributors) holds it at action_required until a maintainer approves it, as #26 showed from 2026-10-15 to 2026-11-01. The comment now says so, and says to approve the run when reviewing the refresh PR. See QuantEcon/project-monorepo#27 step 8 for the App-token test. Co-Authored-By: Claude Opus 5.5 <[email protected]>
There was a problem hiding this comment.
🟢 Approval recommended
The change is a documentation-only correction to the workflow header comment with no behavioral impact and no objective issues identified.
No open issues 🎉
What changed in this PR
This PR updates the PERMISSIONS note in the header comment of .github/workflows/drift-check.yml. The previous comment incorrectly stated that a PR opened with the default GITHUB_TOKEN does not trigger the workflow's own pull_request run. The new comment clarifies that the run does start, but the repository's approval policy (all external contributors) holds it at action_required until a maintainer approves it, and instructs reviewers to approve the run when reviewing the refresh PR. This is documentation-only with no behavioral change, keeping the operational guidance accurate for maintainers handling the nightly drift-check refresh flow.
Changes:
- Corrects the factual claim about whether a
GITHUB_TOKEN-opened PR triggers the workflow's ownpull_requestrun. - Adds guidance to approve the held run when reviewing the refresh PR.
- Preserves the existing note that pushes to
drift/refreshwork under branch protection.
| File | Description |
|---|---|
.github/workflows/drift-check.yml |
Rewrites the PERMISSIONS header comment to accurately describe the approval-policy hold on the refresh PR's own run and tell reviewers to approve it. |
No issues found — the change is accurate, consistent, and complete.
Review effort: Balanced
The header comment said a pull request opened with
GITHUB_TOKENdoes not trigger this workflow's ownpull_requestrun. It does start the run, but the repository's approval policy (all external contributors) holds it ataction_requireduntil a maintainer approves it. #26 waited that way from 2026-10-15 until it was approved and merged on 2026-11-01.The comment now says so, and says to approve the run when reviewing the refresh PR. Comment only; no behaviour changes.
The same fact is recorded in the access record in
ARCHITECTURE.md(QuantEcon/project-monorepo#114). Whether a pull request opened with the App's token is held the same way is tested in step 8 of QuantEcon/project-monorepo#27.🤖 Generated with Claude Code