Skip to content

Restore exact-main Check after Dependabot merges - #525

Merged
0thernet merged 1 commit into
mainfrom
fix/dependabot-main-check-20261014
Oct 14, 2026
Merged

0thernet merged 1 commit into
mainfrom
fix/dependabot-main-check-20261014

Conversation

@0thernet

Copy link
Copy Markdown
Member

Dependabot auto-merges enabled with GITHUB_TOKEN suppress the push-triggered Check on the merge SHA (as on #520 and #522). Instead, when a PR's Check succeeds, look up the live PR by the checked head SHA (workflow_run.pull_requests can be empty), require an open same-repository Dependabot PR, and squash-merge via the existing release-tagger app's contents:write token. The expected head SHA and branch protection gate the REST merge; the app push triggers main Check. The release tagger remains gated on a successful push Check. No new app or workflow permissions.

Validation: python3 -I .github/scripts/dependabot-auto-merge.test.py (5 tests), actionlint .github/workflows/dependabot-auto-merge.yml, git diff --cached --check passed. After merging, verify the next qualifying Dependabot PR Check/Required and exact merge-SHA main Check/Required before reassessing release readiness.

@vercel

vercel Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

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

1 Skipped Deployment
Project Deployment Actions Updated
xcb Ignored Ignored Oct 14, 2026 10:34pm UTC

Request Review

@0thernet
0thernet merged commit fee7ff9 into main Oct 14, 2026
20 checks passed
@0thernet
0thernet deleted the fix/dependabot-main-check-20261014 branch October 14, 2026 22:51
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