Repository navigation
fix(version): fail after a version push and push with a lease on the PR head - #2
Merged
Merged
Conversation
…PR head A version job that pushed the bump commit reported success, so auto-merge could merge the old head without the bump (freyr-claude-plugin #31). The push also created a stray branch after the merge deleted the PR branch.
This was referenced Nov 11, 2026
michal-giergielewicz
added a commit
to freyr/ragnarok-bundle
that referenced
this pull request
Nov 11, 2026
Pins the shared freyr actions to v1.0.1. v1.0.1 makes the version job fail after it pushes a version commit and pushes with a lease on the PR head (freyr/.github#2).
michal-giergielewicz
added a commit
to freyr/identity
that referenced
this pull request
Nov 11, 2026
Pins the shared freyr actions to v1.0.1. v1.0.1 makes the version job fail after it pushes a version commit and pushes with a lease on the PR head (freyr/.github#2).
michal-giergielewicz
added a commit
to freyr/traefik
that referenced
this pull request
Nov 11, 2026
Pins the shared freyr actions to v1.0.1. v1.0.1 makes the version job fail after it pushes a version commit and pushes with a lease on the PR head (freyr/.github#2).
michal-giergielewicz
added a commit
to freyr/pc-mqtt-agent
that referenced
this pull request
Nov 11, 2026
Pins the shared freyr actions to v1.0.1. v1.0.1 makes the version job fail after it pushes a version commit and pushes with a lease on the PR head (freyr/.github#2).
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.
Problem
On freyr-claude-plugin #31 the version job pushed
chore: set version sdlc 0.8.0and then reported success. Auto-merge merged the old head (no required checks are enforced while the org rulesetmainis in evaluate mode). The bot push landed after the merge and created a stray branch. Result: #31 shipped assdlc--v0.7.2instead of 0.8.0.Change
versioncheck.--force-with-lease=refs/heads/<head>:<head sha>. A merged (deleted) or moved branch rejects it.mainis active.Check
CI of this repo (actionlint, zizmor, tests). The real check is the next PR in a repo that needs a bump.