Skip to content

Commit 746b1ec

Browse files
committed
Don't push images if unit tests are failing
1 parent 249391a commit 746b1ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test-pr.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
run: exit ${{ github.event.pull_request.head.repo.full_name == 'azimuth-cloud/cluster-api-janitor-openstack' && '0' || '1' }}
4040

4141
publish_artifacts:
42-
needs: [fail_on_remote]
42+
needs: [unit_tests,fail_on_remote]
4343
uses: ./.github/workflows/build-push-artifacts.yaml
4444
with:
4545
ref: ${{ github.event.pull_request.head.sha }}

0 commit comments

Comments
 (0)