Skip to content

Commit

Permalink
Do not run E2E for draft PRs (#264)
Browse files Browse the repository at this point in the history
For draft PR there are no images in the artifactory
  • Loading branch information
jaroslaw-pieszka authored Apr 5, 2023
1 parent 7f3a08b commit 6f623e5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/run-e2e-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,17 @@ name: Run E2E tests on the cluster
on:
pull_request:
branches: [ main ]
types:
- opened
- reopened
- synchronize
- ready_for_review

jobs:

run-e2e-tests:
uses: "./.github/workflows/run-e2e-tests-reusable.yaml"
if: ${{ !github.event.pull_request.draft }}
with:
image-tag: PR-${{ github.event.number }}
module-tag: v0.0.0-PR-${{ github.event.number }}
Expand Down

0 comments on commit 6f623e5

Please sign in to comment.