diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index a6959b448..7e07e15fc 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -11,7 +11,10 @@ on: jobs: build: - + if: > + github.event_name == 'push' || + (github.event_name == 'pull_request' && ( + github.event.pull_request.head.repo.full_name != github.repository || github.base_ref == 'kotlin-community/dev')) runs-on: ubuntu-latest env: