build: Only run bisectability check on PRs

Signed-off-by: Rob Bradford <rbradford@rivosinc.com>
This commit is contained in:
Rob Bradford 2024-02-28 15:13:19 +00:00
parent 96cc1ba76c
commit 3e35529842

View File

@ -45,8 +45,8 @@ jobs:
override: true override: true
components: rustfmt, clippy components: rustfmt, clippy
- name: Debug Check (default features) - name: Bisectability Check (default features)
if: ${{ matrix.target == 'x86_64-unknown-linux-gnu' }} if: ${{ github.event_name == 'pull_request' && matrix.target == 'x86_64-unknown-linux-gnu' }}
run: | run: |
set -e set -e
commits=$(git rev-list origin/${{ github.base_ref }}..${{ github.sha }}) commits=$(git rev-list origin/${{ github.base_ref }}..${{ github.sha }})