Skip to content

Commit 46af202

Browse files
committed
Restrict GH actions only to certain files
1 parent 7c950f6 commit 46af202

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/pattern-sh-ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,15 @@ name: Run Bash Script on Multiple Distributions
22

33
on:
44
push:
5+
paths:
6+
- "scripts/**"
7+
- "Makefile"
58
branches:
69
- main
710
pull_request:
11+
paths:
12+
- "scripts/**"
13+
- "Makefile"
814

915
jobs:
1016
run-script:

0 commit comments

Comments
 (0)