chore(ci): check MinimumVersionTag in the release pipeline#3593
chore(ci): check MinimumVersionTag in the release pipeline#3593sydorovdmytro wants to merge 1 commit intoloft-sh:mainfrom
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 62120abccd
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
|
|
||
| publish: | ||
| if: startsWith(github.ref, 'refs/tags/v') == true | ||
| needs: [check_minimum_version_tag] |
There was a problem hiding this comment.
Avoid gating publish on an optionally skipped check job
The new needs: [check_minimum_version_tag] causes publish to be skipped whenever check_minimum_version_tag is skipped by its own condition (for example, tags containing - such as vX.Y.Z-next.N). In GitHub Actions, a skipped dependency propagates skip to downstream jobs unless explicitly handled, so prerelease tags that previously published artifacts will now stop before publish runs.
Useful? React with 👍 / 👎.
Checks if MinimumVersionTag contains a stable release.
62120ab to
cd738b3
Compare
Checks if MinimumVersionTag contains a stable release.
What issue type does this pull request address? (keep at least one, remove the others)
/kind enhancement
What does this pull request do? Which issues does it resolve? (use
resolves #<issue_number>if possible)Fixes DEVOPS-576
Please provide a short message that should be published in the vcluster release notes
Fixed an issue where vcluster ...
What else do we need to know?