## 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
|
||
|---|---|---|
| .. | ||
| agent-runtime-images.yml | ||
| commitperclip-review.yml | ||
| docker.yml | ||
| e2e.yml | ||
| pr-trusted.yml | ||
| pr.yml | ||
| refresh-lockfile.yml | ||
| release-smoke.yml | ||
| release-verify.yml | ||
| release.yml | ||
| storybook-visual.yml | ||