Skip to content

Commit

Permalink
Skip e2e workflow on pull requests (#1900)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesse-Bakker committed Aug 23, 2023
1 parent 57c42c7 commit 19d77d0
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: Dozer E2E Test

on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
merge_group:
pull_request_target:
branches: [main]

env:
CARGO_TERM_COLOR: always
Expand All @@ -17,10 +17,13 @@ concurrency:
jobs:
# Run e2e test
e2e:
# Skip on PR, because it takes too long. Skipping instead of not triggering
# will make branch protection happy, so we can add it to the merge queue and
# run the job there
if: ${{ github.event_name != 'pull_request_target' }}
timeout-minutes: 60
runs-on:
labels: ubuntu-latest

steps:
- if: github.event_name == 'pull_request_target'
uses: actions/checkout@v3
Expand Down

0 comments on commit 19d77d0

Please sign in to comment.