Skip to content

Commit f11408f

Browse files
[CI] Switch windows pre-commit pull_request_target -> pull_request (#10767)
Linux had been updated in #10720 already.
1 parent e4676b6 commit f11408f

File tree

1 file changed

+2
-15
lines changed

1 file changed

+2
-15
lines changed

.github/workflows/sycl_precommit_windows.yml

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: SYCL Pre Commit on Windows
22

33
on:
4-
pull_request_target:
4+
pull_request:
55
branches:
66
- sycl
77
- sycl-devops-pr/**
@@ -15,9 +15,6 @@ on:
1515
- 'clang/docs/**'
1616
- '**.md'
1717
- '**.rst'
18-
# For CI-related files we explicitly skip all the jobs below even if there
19-
# were other (non-ignored) files modified in this PR.
20-
- 'devops/*/**'
2118

2219
permissions:
2320
contents: read
@@ -27,10 +24,6 @@ jobs:
2724
uses: ./.github/workflows/sycl_detect_changes.yml
2825

2926
lint:
30-
needs: [detect_changes]
31-
if: |
32-
github.event.pull_request.head.repo.full_name == 'intel/llvm' ||
33-
!contains(needs.detect_changes.outputs.filters, 'ci')
3427
runs-on: [Linux, build]
3528
container:
3629
image: ghcr.io/intel/llvm/sycl_ubuntu2204_nightly:no-drivers
@@ -61,10 +54,6 @@ jobs:
6154

6255
# This job generates matrix of tests for SYCL End-to-End tests
6356
test_matrix:
64-
needs: [detect_changes]
65-
if: |
66-
github.event.pull_request.head.repo.full_name == 'intel/llvm' ||
67-
!contains(needs.detect_changes.outputs.filters, 'ci')
6857
name: Generate Test Matrix
6958
uses: ./.github/workflows/sycl_gen_test_matrix.yml
7059
with:
@@ -78,10 +67,8 @@ jobs:
7867
always()
7968
&& (success() || contains(github.event.pull_request.labels.*.name, 'ignore-lint'))
8069
&& github.repository == 'intel/llvm'
81-
&& (github.event.pull_request.head.repo.full_name == 'intel/llvm'
82-
|| !contains(needs.detect_changes.outputs.filters, 'ci'))
8370
uses: ./.github/workflows/sycl_windows_build_and_test.yml
8471
with:
8572
lts_matrix: ${{ needs.test_matrix.outputs.lts_wn_matrix }}
86-
build_ref: ${{ github.event.pull_request.head.sha }}
73+
build_ref: ${{ github.sha }}
8774
changes: ${{ needs.detect_changes.outputs.filters }}

0 commit comments

Comments
 (0)