Repository navigation
Conversation
|
As an option, we can call current release consistently 'Current release', rename it upon cutoff (and create new 'Current release' then). |
|
Added workflow for stable/staging branches - will put a comment about adding PR into milestone manually when they get merged (automating hotfix related binding is too niche and complex to bother, i feel) |
kontakt
left a comment
There was a problem hiding this comment.
Nitpick, but you're supporting two formats
| LATEST_MILESTONE="${MILESTONES%%$'\n'*}" | ||
|
|
||
| if [[ -z "${LATEST_MILESTONE}" ]]; then | ||
| echo "::warning::No open release milestone (a title containing a YYYY.MM date) found in ${REPO}, PR #${PR_NUMBER} was not assigned to a milestone." |
There was a problem hiding this comment.
You're searching both YYYY.MM and YYYY-MM?
There was a problem hiding this comment.
Eh, at some point i thought that we should not fail if person just messed up format a tiny-little bit. But i see flaws within this logic.
Considering we will be going for milestone using same-ish name as tag version we want - we probably should go with only '.'?
Co-authored-by: Connor Huffine <chuffine@gmail.com>
put-pull-requests-into-milestones.yml
Puts PR upon merging into latest active milestone that is available, detects them by parsing YYYY.MM pattern and finding one with greater date. If no milestone found - just fails (no alarms!!!).
rotate-release-milestone.yml
WHY
We need to do automated cutoff to exclude possibility of PR not being assigned to a proper milestone upon merging.
Milestone assignment will give PR