Skip to content

Commit a2db5e1

Browse files
ci: add final job
1 parent 4526a7b commit a2db5e1

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/acceptance.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,3 +124,12 @@ jobs:
124124
opentofu-version:
125125
- '1.6.*'
126126
cloudstack-version: ${{ fromJson(needs.prepare-matrix.outputs.cloudstack-versions) }}
127+
128+
all-jobs-passed: # Will succeed if it is skipped
129+
runs-on: ubuntu-latest
130+
needs: [acceptance-terraform, acceptance-opentofu]
131+
# Only run if any of the previous jobs failed
132+
if: ${{ failure() }}
133+
steps:
134+
- name: Previous jobs fails
135+
run: exit 1

0 commit comments

Comments
 (0)