Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/automated-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,10 @@ jobs:
# Running this check early prevents unnecessary work (like creating REL tickets) if the release cannot proceed.
check-releasability:
name: Check Releasability
if: ${{ inputs.check-releasability && !cancelled() }}
if: |
inputs.check-releasability &&
!cancelled() &&
(needs.freeze-branch.result == 'success' || needs.freeze-branch.result == 'skipped')
needs: [ freeze-branch ]
runs-on: ${{ inputs.runner-environment }}
permissions:
Expand Down Expand Up @@ -240,10 +243,9 @@ jobs:
# These outputs include the release version, Jira version name, release notes, Jira release notes, and Jira release URL.
prepare-release:
name: Prepare Release
needs: [ freeze-branch, check-releasability ]
needs: [ check-releasability ]
if: |
!cancelled() &&
(needs.freeze-branch.result == 'success' || needs.freeze-branch.result == 'skipped') &&
(needs.check-releasability.result == 'success' || needs.check-releasability.result == 'skipped')
runs-on: ${{ inputs.runner-environment }}
permissions:
Expand Down