diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a585b6e80..f737a1539 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -99,9 +99,9 @@ jobs: python travis/script-syntax.py --ext=rb --cmd="ruby -c" check-pr: runs-on: ubuntu-latest + if: github.event_name == 'pull_request' steps: - name: Check that PR is based on develop branch - if: github.event_name == 'pull_request' env: BASE_BRANCH: ${{ github.base_ref }} run: |