fix(release): use create-pull-request to satisfy main branch protection#45
Merged
fix(release): use create-pull-request to satisfy main branch protection#45
Conversation
… policy Co-authored-by: chefgs <7605658+chefgs@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix release.yml failure due to main branch protection policy
fix(release): use create-pull-request to satisfy main branch protection
Mar 17, 2026
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.
release.ymlwas pushing version-bump commits directly tomain, which is blocked by two branch protection rules: required verified signatures and required PR review.Changes
peter-evans/create-pull-request@v7— commits created via the GitHub API are automatically verified (signed), and changes land via PR instead of a force push tomainsteps.cpr.outputs.pull-request-head-shaso the version tag points to the commit carrying the actual file changes, not the pre-bumpmainHEADifguard to skip runs where the triggering push is the merge of an automated release PR:pull-requests: writepermission — required to open the version-bump PR📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.