Skip to content

Commit 91897f6

Browse files
committed
ci: specify trigger paths inclusively instead of ignoring
1 parent b065cfa commit 91897f6

1 file changed

Lines changed: 14 additions & 6 deletions

File tree

.github/workflows/moodle-ci.yaml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,21 @@ on:
44
push:
55
branches:
66
- main
7-
paths-ignore:
8-
- '**.md'
9-
- '.gitignore'
7+
paths:
8+
- '**.feature'
9+
- '**.js'
10+
- '**.mustache'
11+
- '**.php'
12+
- '.github/workflows/*'
13+
- 'db/*'
1014
pull_request:
11-
paths-ignore:
12-
- '**.md'
13-
- '.gitignore'
15+
paths:
16+
- '**.feature'
17+
- '**.js'
18+
- '**.mustache'
19+
- '**.php'
20+
- '.github/workflows/*'
21+
- 'db/*'
1422
schedule:
1523
# At 00:00 on the 1st of every month
1624
- cron: '0 0 1 * *'

0 commit comments

Comments
 (0)