Skip to content

Commit 9fcec85

Browse files
phlogistonjohnmergify[bot]
authored andcommitted
workflows: do not run push job if test job fails
Push already only runs on "push" but make it even safer by requiring the "test" job to complete successfully first. Signed-off-by: John Mulligan <[email protected]>
1 parent 8c53dc0 commit 9fcec85

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ jobs:
4242
run: docker run -v $PWD:/var/tmp/build/sambacc sambacc:ci-fc37
4343

4444
push:
45+
needs: [test]
4546
runs-on: ubuntu-latest
4647
if: (github.event_name == 'push' || github.event_name == 'schedule') && github.repository == 'samba-in-kubernetes/sambacc'
4748
steps:

0 commit comments

Comments
 (0)