Skip to content

Require full SHA match for /ok-to-test fork gate - #253

Merged
JillRegan merged 1 commit into
mainfrom
fix/ok-to-test-full-sha
Dec 2, 2026
Merged

JillRegan merged 1 commit into
mainfrom
fix/ok-to-test-full-sha

Conversation

@JillRegan

Copy link
Copy Markdown
Contributor

Summary

Fixes the /ok-to-test fork gate.

  • validate.yml: replace contains(head.sha, sha) with an exact match, so the approved SHA must be the full 40-char PR head.
  • Check out and report on the approved SHA instead of the dispatch-time PR head.
  • ok-to-test.yml: document /ok-to-test sha=<full 40-char commit SHA>.

@JillRegan
JillRegan requested a review from a team December 2, 2026 00:42
@rr3khan

rr3khan commented Dec 2, 2026

Copy link
Copy Markdown

/ok-to-test f12aad1

@JillRegan
JillRegan merged commit 160192a into main Dec 2, 2026
27 checks passed
@JillRegan
JillRegan deleted the fix/ok-to-test-full-sha branch December 2, 2026 01:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants