Skip to content

Commit 653d0c9

Browse files
committed
ci(workflows): limit workflow triggers to main.yaml only
- Restricts push and pull request triggers to changes in main.yaml. - Reduces unnecessary workflow runs for modifications outside of this file.
1 parent 417ce1b commit 653d0c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/main.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ on:
44
push:
55
paths:
66
- "src/**"
7-
- ".github/workflows/**"
7+
- ".github/workflows/main.yaml"
88
pull_request:
99
paths:
1010
- "src/**"
11-
- ".github/workflows/**"
11+
- ".github/workflows/main.yaml"
1212

1313
env:
1414
version: 9.0.${{github.run_number}}

0 commit comments

Comments
 (0)