Skip to content

Commit a122d66

Browse files
committed
Only build on specific changes
1 parent be2e96d commit a122d66

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/action.yml

+22
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,29 @@ name: build
1212
on:
1313
# Push or pull_request will be determined in jobs.configure.enabled
1414
push:
15+
paths:
16+
- '.ansible/**'
17+
- '.github/workflows/action.yml'
18+
- '.github/workflows/params.yml'
19+
- 'Dockerfiles/**'
20+
- 'php_modules/**'
21+
- 'php_tools/**'
22+
- 'tests/**'
23+
- 'Makefile'
24+
- '!**.md'
25+
- '!.ansible/ansible.cfg'
1526
pull_request:
27+
paths:
28+
- '.ansible/**'
29+
- '.github/workflows/action.yml'
30+
- '.github/workflows/params.yml'
31+
- 'Dockerfiles/**'
32+
- 'php_modules/**'
33+
- 'php_tools/**'
34+
- 'tests/**'
35+
- 'Makefile'
36+
- '!**.md'
37+
- '!.ansible/ansible.cfg'
1638
# Dispatch: allows for manual trigger via GH UI
1739
workflow_dispatch:
1840

0 commit comments

Comments
 (0)