Only enable github-rspec for pull requests

This commit is contained in:
Claire 2023-10-18 11:04:27 +02:00
parent 4ab64807bf
commit 85e440432e

View file

@ -113,7 +113,7 @@ jobs:
CAS_ENABLED: true
BUNDLE_WITH: 'pam_authentication test'
CI_JOBS: ${{ matrix.ci_job }}/4
GITHUB_RSPEC: ${{ matrix.ruby-version == '.ruby-version' }}
GITHUB_RSPEC: ${{ matrix.ruby-version == '.ruby-version' && github.event.pull_request && 'true' }}
strategy:
fail-fast: false