Skip to content

Use verified master pushes for cached CI and TestFlight - #95

Merged
ccheney merged 1 commit into
masterfrom
verify-owner-merges-for-ci
Sep 12, 2026
Merged

ccheney merged 1 commit into
masterfrom
verify-owner-merges-for-ci

Conversation

@ccheney

@ccheney ccheney commented Sep 12, 2026

Copy link
Copy Markdown
Member

GitHub now makes cache tokens read-only for pull_request_target events, even after an owner merge. Use the normal master push event with a read-only verification job that checks GitHub's PR API for the exact merge SHA, merged state, owner merger, base repository, and master target before tests or TestFlight can run.

This restores normal build-cache writes without overriding security defaults or relaxing lint rules. Direct pushes and open/unmerged PRs skip the test and publishing jobs; every checkout uses the pushed SHA. Owner identity checks remain server-side on every job.

Validation: the API verifier accepted the actual owner merge and rejected a direct-push commit. Three verifier tests and six workflow-policy tests passed, and actionlint passed. The previous hosted run's full unit-test job is green and its TestFlight build is in progress.

@vercel

vercel Bot commented Sep 12, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
luxel-media Ready Ready Preview Sep 12, 2026 7:28am UTC

@ccheney
ccheney merged commit d784532 into master Sep 12, 2026
2 checks passed
@ccheney
ccheney deleted the verify-owner-merges-for-ci branch September 12, 2026 07:28
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.

1 participant