Skip to content

Commit

Permalink
Don't run quickstart compilation job on PRs that don't target main
Browse files Browse the repository at this point in the history
  • Loading branch information
yrodiere committed Feb 8, 2023
1 parent 231dceb commit d994438
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci-actions-incremental.yml
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,8 @@ jobs:
runs-on: ${{matrix.java.os-name}}
needs: build-jdk11
# Skip main in forks
if: (github.repository == 'quarkusio/quarkus' && (github.event_name != 'pull_request' || github.base_ref == 'main')) || !endsWith(github.ref, '/main')
if: "(github.repository == 'quarkusio/quarkus' && (github.event_name != 'pull_request' || github.base_ref == 'main')) \
|| (github.repository != 'quarkusio/quarkus' && !endsWith(github.ref, '/main'))"
timeout-minutes: 90
strategy:
fail-fast: false
Expand Down

0 comments on commit d994438

Please sign in to comment.