Skip to content

ci: pin core pr-triage workflow to 981e7ae (newest check run counts) - #234

Merged
bketelsen merged 3 commits into
mainfrom
ci/pr-triage-pin-981e7ae
Nov 14, 2026
Merged

bketelsen merged 3 commits into
mainfrom
ci/pr-triage-pin-981e7ae

Conversation

@frostyard-machines

@frostyard-machines frostyard-machines commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Move the pin of frostyard/core's reusable PR triage workflow to 981e7aeb014cbd3efee710e99a5043fcc4763446 (frostyard/core main after core#246).

With the old pin, the readiness step can remove ready-for-human from a pull request whose checks are all green. It read check-runs?filter=latest, which gives the latest run per check suite, and each workflow run is its own check suite. A run that a newer run of the same check cancelled stayed in the list and counted as not green (frostyard/updex#515). From core#246, only the newest run of each check name and app counts; a cancelled, failed or unfinished newest run still counts as not green.

Core changes in pr-triage.yml since c996ea3 (a caller that pins 267421d already has core#228):

  • core#228: HTTP 403 on the check reads gives "readiness unknown" (no label change), not a failed run.
  • core#236: dependabot/fetch-metadata v2.5.0 to v3.1.0 (SHA-pinned).
  • core#246: the newest-run fix above.

The workflow_call interface, the job permissions and the triggers do not change. This PR changes 1 line: the uses: pin and its comment.

Risk tier

risk:high: the change is in .github/workflows/. It is safe: the caller keeps its triggers, permissions and job names; only the pinned core SHA (40 characters, ADR-0021) moves to a reviewed core main commit.

Verification

  • git diff shows 1 changed line, the uses: line.
  • The pr-triage / pr-triage check on this PR runs at the base branch caller (pull_request_target), so the new pin runs from the first PR after this merges.

@github-actions github-actions Bot added level:L2 Read the diff risk:high Touches a path in .github/risk-paths.json labels Nov 14, 2026
@frostyard-machines

Copy link
Copy Markdown
Contributor Author

Cross-review (batch of 35 identical pin PRs, branch ci/pr-triage-pin-981e7ae): coder anthropic/claude-opus-5-5, reviewer openai/gpt-6.1-sol (read only).

  • Initial review of the 35 diffs: Ready, Blocking: none. 1 low finding (the body listed core#228 as new for callers on 267421d), fixed in the body.
  • Re-review 1 (comment # core#246 ..., for a 160-character lint limit and a # <repo>#<N> guard): Ready, Blocking: none.
  • Re-review 2 (each repository keeps its own pin comment form from the default branch, with the new date and core#246, because 2 repositories' guards need different forms): Ready, Blocking: none. Every PR changes only the pin line to 981e7aeb014cbd3efee710e99a5043fcc4763446.

All checks at this head pass.

@frostyard-machines

Copy link
Copy Markdown
Contributor Author

Owner review: OK (pin to core#246 merge 981e7ae; only the uses: line changes)

@frostyard-machines frostyard-machines added the ready-for-human Reviewed, CI green: ready for Brian to review and merge label Nov 14, 2026
@bketelsen
bketelsen merged commit bda7f93 into main Nov 14, 2026
11 checks passed
@bketelsen
bketelsen deleted the ci/pr-triage-pin-981e7ae branch November 14, 2026 01:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

level:L2 Read the diff ready-for-human Reviewed, CI green: ready for Brian to review and merge risk:high Touches a path in .github/risk-paths.json

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants