Limit entire check-pr job to PRs only

develop
lethosor 2020-04-11 02:24:40 -04:00
parent dbdd98829f
commit dc598d501a
1 changed files with 1 additions and 1 deletions

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