|
1 | 1 | name: SYCL Pre Commit on Windows
|
2 | 2 |
|
3 | 3 | on:
|
4 |
| - pull_request_target: |
| 4 | + pull_request: |
5 | 5 | branches:
|
6 | 6 | - sycl
|
7 | 7 | - sycl-devops-pr/**
|
|
15 | 15 | - 'clang/docs/**'
|
16 | 16 | - '**.md'
|
17 | 17 | - '**.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/*/**' |
21 | 18 |
|
22 | 19 | permissions:
|
23 | 20 | contents: read
|
|
27 | 24 | uses: ./.github/workflows/sycl_detect_changes.yml
|
28 | 25 |
|
29 | 26 | 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') |
34 | 27 | runs-on: [Linux, build]
|
35 | 28 | container:
|
36 | 29 | image: ghcr.io/intel/llvm/sycl_ubuntu2204_nightly:no-drivers
|
|
61 | 54 |
|
62 | 55 | # This job generates matrix of tests for SYCL End-to-End tests
|
63 | 56 | 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') |
68 | 57 | name: Generate Test Matrix
|
69 | 58 | uses: ./.github/workflows/sycl_gen_test_matrix.yml
|
70 | 59 | with:
|
|
78 | 67 | always()
|
79 | 68 | && (success() || contains(github.event.pull_request.labels.*.name, 'ignore-lint'))
|
80 | 69 | && github.repository == 'intel/llvm'
|
81 |
| - && (github.event.pull_request.head.repo.full_name == 'intel/llvm' |
82 |
| - || !contains(needs.detect_changes.outputs.filters, 'ci')) |
83 | 70 | uses: ./.github/workflows/sycl_windows_build_and_test.yml
|
84 | 71 | with:
|
85 | 72 | lts_matrix: ${{ needs.test_matrix.outputs.lts_wn_matrix }}
|
86 |
| - build_ref: ${{ github.event.pull_request.head.sha }} |
| 73 | + build_ref: ${{ github.sha }} |
87 | 74 | changes: ${{ needs.detect_changes.outputs.filters }}
|
0 commit comments