Skip to content

Commit 5b3d349

Browse files
committed
fix maybe
Signed-off-by: Sarnie, Nick <[email protected]>
1 parent 59f480b commit 5b3d349

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/sycl-post-commit.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ permissions: read-all
3030

3131
jobs:
3232
detect_changes:
33+
if: ${{ github.event_name == 'pull_request' }}
3334
uses: ./.github/workflows/sycl-detect-changes.yml
3435

3536
build-lin:
@@ -99,6 +100,7 @@ jobs:
99100

100101
# Do not install drivers on AMD and CUDA runners.
101102
install_igc_driver: >-
103+
${{ github.event_name == 'pull_request' }} &&
102104
${{ !contains(matrix.target_devices, 'cuda') &&
103105
!contains(matrix.target_devices, 'hip') &&
104106
contains(needs.detect_changes.outputs.filters, 'drivers') }}

0 commit comments

Comments
 (0)