Skip to content

Commit bd5685e

Browse files
committed
Gate e2e tests on Helm lint
1 parent cee3977 commit bd5685e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/test-pr.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,14 @@ jobs:
3939

4040
# This job exists so that PRs from outside the main repo are rejected
4141
fail_on_remote:
42+
needs: [unit_tests, lint]
4243
runs-on: ubuntu-latest
4344
steps:
4445
- name: PR must be from a branch in the azimuth-cloud/cluster-api-janitor-openstack repo
4546
run: exit ${{ github.event.pull_request.head.repo.full_name == 'azimuth-cloud/cluster-api-janitor-openstack' && '0' || '1' }}
4647

4748
publish_artifacts:
48-
needs: [unit_tests,fail_on_remote]
49+
needs: [fail_on_remote]
4950
uses: ./.github/workflows/build-push-artifacts.yaml
5051
with:
5152
ref: ${{ github.event.pull_request.head.sha }}

0 commit comments

Comments
 (0)