diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 24cccf5f90..ce9d2caae6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,7 +17,7 @@ on: jobs: build: # Run on all label events (won't be duplicated) or all push events or on PR syncs not from the same repo - if: (github.event_name == 'pull_request' && github.event.action == 'labeled') || github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name + if: (github.event_name == 'pull_request' && github.event.action == 'labeled' && github.event.label.name == 'build-pr-jar') || github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name runs-on: ubuntu-latest strategy: matrix: