You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug(ci): issue-status-on-merge has not run since its trigger moved to pull_request_target — every merge since 2026-09-14 needed a manual status-in-dev bump #2822
.github/workflows/issue-status-on-merge.yml promotes a merged PR's linked issue from status-in-progress to status-in-dev. #2769 (merged to dev 2026-09-14) changed its trigger from pull_request to pull_request_target so fork PRs get a token that can write labels. Since that commit the workflow has produced zero runs: the API lists its last six runs at 2026-09-14 14:16–14:23 UTC, all under the old pull_request event, and nothing for any of the six PRs merged to dev afterwards (#2788, #2797, #2798, #2799, #2803, #2809). The three issues merged this morning (#2742, #2794, #2795) carry status-in-dev because two maintainers applied the label by hand; #2349 was bumped by hand too.
Context
Found while closing out #2809. The workflow doc calls a stranded status-in-progress "the #1 cause of issues stranded after their PR ships", and the promotion is the one step of the SDLC nothing else performs.
Hypothesis, not yet proven:main still carries the old file (on: pull_request; last release cut 2026-09-04), while dev carries the new trigger. If GitHub sources pull_request_target workflows from the default branch rather than the PR's base branch — the same default-branch registration behaviour deploy-dev.yml documents for schedule (#2204) — then the new trigger cannot fire until the file reaches main, and the old pull_request trigger no longer exists on dev for PRs against it. Alternative explanations worth ruling out: the branches: [dev] filter under pull_request_target, or the types: [closed] event not being delivered for squash merges via the API.
Acceptance Criteria
Root cause established from the run log or GitHub's documented trigger semantics, and written into the workflow's header comment
A PR merged to dev promotes its linked issue with no human involved, proven on the first merge after the fix (the workflow run is linked in this issue)
The six stranded promotions above are reconciled (all are already bumped by hand; confirm none remain in status-in-progress with a merged PR)
If the fix is "the file must reach main": either backport the workflow to main now or switch to a trigger that is evaluated from the PR's base branch, so a future trigger change cannot go dark again until a release cut
Technical Notes
Candidate shapes: (a) trigger on push to dev and resolve the merged PR from the commit, the way deploy-dev.yml reads origin/dev — no untrusted context at all; (b) keep pull_request_target and land the file on main via a release cut or a direct backport; (c) pull_request plus a follow-up workflow_run job with write permissions, the pattern GitHub documents for fork PRs. The /groom Readiness Triage step is the manual backstop until then.
Activity
fix(ci): promote on the push to `dev`, not on a trigger registered fr…
fix(ci): promote on the push to `dev`, not on a trigger registered fr…