fix(ci): refuse a release tag that is not on main #16
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
waiting-on-julian
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
thehansogroup/eltrix_web!16
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "enforce-tag-on-main"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes the hole clark named on platform#779. Skipping the Quality gate on tags is sound only while every tag names a commit already gated on main, and a skipped job reports
success, so an ungated tag would publish with a green status and nothing to catch it. The docker job now comparesmain...<tagged sha>and refuses unlesstotal_commits == 0(the commit is on main), failing closed if the count is unreadable. Cheap enforcement, not a re-run of the gate (which is what fails cold).