Repository navigation
Sync release/0.2 from integration and check closing choices there - #677
Merged
Merged
Conversation
A new workflow opens a pull request into release/0.2 whenever integration is no longer its ancestor, so fixes reach both release lines. The closing-choice check now runs on pull requests into release branches too. Signed-off-by: rocklambros <rock@rockcyber.com>
rocklambros
requested review from
GangGreenTemperTatum,
afogel,
almogbhl,
bar-capsule,
fewdisc,
mamicidal and
sclintonowasp
as code owners
November 26, 2026 14:41
bar-capsule
approved these changes
Nov 26, 2026
1 of 14 tasks
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.
What changed
PR #675 sends 0.2 spec work to
release/0.2. This closes two gaps it leaves:.github/workflows/sync-release.ymlis new. On every push tointegration, it checks whetherintegrationis still an ancestor ofrelease/0.2. If not, and no sync pull request is open, it opens one fromintegrationintorelease/0.2. It holdscontents: readandpull-requests: writeonly, and no event text reaches its script.closing-choice.ymlnow runs on pull requests intorelease/*as well asintegration, so the ten spec PRs moved torelease/0.2keep the check.The sync pull request has to merge with a merge commit. A squash or a rebase never makes
integrationan ancestor ofrelease/0.2, so the next run would reopen it with every earlier change. Theprotect-releaseruleset allowed only squash and rebase, so I added merge commits to it. The repository already allows them for promotions. A pull request opened withGITHUB_TOKENstarts no workflows, so a lead closes and reopens the sync pull request to run its checks, the same as the existing sync frommain.Which issue does this implement
Refs #99
Base branch
integrationType of change
I tested this
uv run pytest -qpasses (1265 passed, 1 skipped).tests/test_sync_release_workflow.pypins the triggers and permissions and runs the script against a scratch repository: it does nothing whenrelease/0.2carriesintegration, opens a pull request whenintegrationmoves ahead, and exits quietly when the branch is gone.actionlintpasses on both workflowsuv.lockreports no findings on both workflowsChecklist
git commit -s(required by the DCO)Security
The new job can open pull requests. Its only inputs are the branch name in the file and git's refs, and its checkout keeps no credentials.