Skip to content

Commit

Permalink
Merge pull request #30979 from yrodiere/no-quickstarts-for-non-main
Browse files Browse the repository at this point in the history
Don't run quickstart compilation job on PRs that don't target main
  • Loading branch information
gsmet authored Feb 8, 2023
2 parents cbf8449 + d994438 commit 3fa3f2d
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 3fa3f2d

Please sign in to comment.