We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf9309d commit b3aec27Copy full SHA for b3aec27
1 file changed
.github/workflows/cicd-1-pull-request.yaml
@@ -131,7 +131,12 @@ jobs:
131
name: "Publish stage"
132
needs: [metadata, acceptance-stage]
133
uses: ./.github/workflows/stage-5-publish.yaml
134
- if: github.event_name == 'push'
+ if: >-
135
+ always() &&
136
+ github.event_name == 'push' &&
137
+ !cancelled() &&
138
+ !contains(needs.*.result, 'cancelled') &&
139
+ !contains(needs.*.result, 'failure')
140
with:
141
build_datetime: "${{ needs.metadata.outputs.build_datetime }}"
142
build_timestamp: "${{ needs.metadata.outputs.build_timestamp }}"
0 commit comments