paperclip/.github
Dotta 5ac66b3fdd
fix(ci): validate the workflow merge ref (#12447)
## Summary

- use `${{ github.sha }}` as the event merge commit validated by the
trusted gate
- retain exact base/head parent and identical-tree comparison against
the current live merge ref

## Canary finding

GitHub leaves `pull_request.merge_commit_sha` empty on some `opened`
payloads even though the workflow runs against a valid merge ref. The
gate safely fell back to GitHub-hosted and no EC2 instance launched.

## Validation

- `actionlint .github/workflows/pr-trusted.yml .github/workflows/pr.yml`
- `node --test ./scripts/__tests__/e2e-shard.test.mjs`
- internal routing harness passes and asserts `EVENT_MERGE_SHA` is
sourced from `${{ github.sha }}`
- AWS routing remains disabled during rotation
2026-08-28 11:33:38 -05:00
..
ISSUE_TEMPLATE chore(github): expand issue forms (#7628) 2026-06-05 22:27:12 -07:00
scripts ci: enforce migration order against PR target (#12433) 2026-08-28 08:47:22 -05:00
workflows fix(ci): validate the workflow merge ref (#12447) 2026-08-28 11:33:38 -05:00
CODEOWNERS chore: add @nickyleach to CODEOWNERS (#8289) 2026-06-18 13:34:55 -07:00
PULL_REQUEST_TEMPLATE.md fix(ci): make PR-template inline-description contract explicit (#10558) 2026-07-31 09:46:26 -07:00
dependabot.yml fix(observability): pin the Sentry browser SDK and gate the optional Sentry server peer on the exact version (#12270) 2026-08-27 07:20:03 -07:00