Skip to content

Commit ebbdd1f

Browse files
authored
[CI] Update sycl-zizmor.yml (intel#20565)
The workflow should only trigger on changes to the sycl branch, currently it triggers on changes to any branch. Also trigger on PRs.
1 parent 71abd87 commit ebbdd1f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/sycl-zizmor.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ name: Zizmor
33
on:
44
workflow_dispatch:
55
push:
6+
branches:
7+
- sycl
68
# Although workflow files (.yml) should only be placed in the
79
# .github/workflows directory, composite actions may be placed anywhere.
810
# Here in intel/llvm composite actions are placed in the devops/actions
@@ -13,6 +15,12 @@ on:
1315
paths:
1416
- '.github/workflows/**/*.yml'
1517
- 'devops/actions/**/*.yml'
18+
pull_request:
19+
branches:
20+
- sycl
21+
paths:
22+
- '.github/workflows/**/*.yml'
23+
- 'devops/actions/**/*.yml'
1624

1725
permissions: {}
1826

0 commit comments

Comments
 (0)