Backfill v5.0.0 changelog and enable PAT-based sync#29
Merged
Conversation
The v5.0.0 release workflow generated the changelog correctly but the push to master was rejected by branch protection (GITHUB_TOKEN cannot satisfy the required status checks on a direct push), so CHANGELOG.md was never updated. - Backfill the v5.0.0 entry manually (one-off) and point the Unreleased compare link at v5.0.0. - Update update-changelog.yml to check out master with an admin PAT (secrets.RELEASE_TOKEN) so future releases can push the changelog commit; this requires enforce_admins to be disabled on master. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
The
v5.0.0release did triggerupdate-changelog.ymland it generated the changelog correctly — but the final push tomasterwas rejected by branch protection:masteruses classic branch protection withenforce_admins: true+ required status checks (PHP 8.4 / 8.5). The defaultGITHUB_TOKEN(github-actions[bot]) can't push directly because it can't satisfy those checks. SoCHANGELOG.mdwas never updated.What this PR does
v5.0.0entry intoCHANGELOG.md(one-off, since that release already happened) and points theUnreleasedcompare link atv5.0.0.update-changelog.ymlto check outmasterwith an admin PAT (secrets.RELEASE_TOKEN) so future releases can push the changelog commit.puntodev/bookables→ Contents: Read and write.RELEASE_TOKEN(
Settings → Secrets and variables → Actions).enforce_adminsonmasterso the admin PAT can bypass the requiredstatus checks on a direct push:
PUTthe same endpoint to re-enable.)Without step 3, even an admin PAT is blocked. With it, the bot push bypasses the checks while everything else stays protected (force-pushes/deletions still blocked, linear history enforced).
🤖 Generated with Claude Code