Skip to content

Commit

Permalink
Skip checks on PRs only
Browse files Browse the repository at this point in the history
  • Loading branch information
pradyunsg committed Apr 24, 2021
1 parent 73dca3a commit e9cc23f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- "tools/requirements/tests.txt"
- "src/**"
- "tests/**"
if: github.event_name != 'schedule'
if: github.event_name == 'pull_request'

pre-commit:
name: pre-commit
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
needs: [determine-changes]
if: >-
needs.determine-changes.outputs.vendoring == 'true' ||
github.event_name == 'schedule'
github.event_name != 'pull_request'
steps:
- uses: actions/checkout@v2
Expand All @@ -86,7 +86,7 @@ jobs:
needs: [pre-commit, packaging, determine-changes]
if: >-
needs.determine-changes.outputs.tests == 'true' ||
github.event_name == 'schedule'
github.event_name != 'pull_request'
strategy:
fail-fast: true
Expand Down Expand Up @@ -126,7 +126,7 @@ jobs:
needs: [pre-commit, packaging, determine-changes]
if: >-
needs.determine-changes.outputs.tests == 'true' ||
github.event_name == 'schedule'
github.event_name != 'pull_request'
strategy:
fail-fast: true
Expand Down

0 comments on commit e9cc23f

Please sign in to comment.