Skip to content

fix(ci-cd): add verification to publish when skip release-candidate job#13

Merged
luanlmd merged 1 commit intomasterfrom
release-cpi-2344-ci-cd
Sep 10, 2025
Merged

fix(ci-cd): add verification to publish when skip release-candidate job#13
luanlmd merged 1 commit intomasterfrom
release-cpi-2344-ci-cd

Conversation

@vitorvmrs
Copy link
Contributor

This pull request updates the conditions under which the publish job runs in the GitHub Actions workflow. The main change is to make the job more robust by ensuring it always evaluates, but only proceeds if the should-release dependency did not fail, in addition to the existing branch checks.

Workflow reliability improvements:

  • .github/workflows/publish.yml: Modified the if condition for the publish job to always evaluate, but only proceed if needs.should-release.result is not 'failure', while still restricting publishing to master, hotfix-, or release- branches.

@vitorvmrs vitorvmrs requested a review from a team as a code owner September 10, 2025 15:39
@luanlmd luanlmd merged commit ad671fe into master Sep 10, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants