Repository navigation
feat(ci): assign new pull requests to the release target milestone - #12
Merged
Merged
Conversation
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
New pull requests had to be put in the upcoming release's milestone by hand. Draftline already does this automatically; Nera now works the same way.
What changed
Before and after
Before: Each pull request was put in a milestone by hand.
After: Each newly opened pull request lands in the milestone named by the target file.
Build and release tooling only; nothing visible in the product changes.
Checked
How it was checked
python3 -m unittest discover -s scripts/ci -p 'test_*.py' ten times: all passed
Risk
Risk above low: Evidence, medium — Tested against a stand-in server; the workflow only runs from main.; Sensitivity, medium — pull_request_target with a write token, never checking out pull request code.; Novelty, medium — New script beside existing CI tooling.
Full risk assessment
Not done
The first pull request opened after merge should carry the 0.1.1 milestone; the workflow cannot show this on its own pull request.