Skip to content

Commit 52bb9ec

Browse files
committed
CI: only run Ansible-lint on Ansible changes
1 parent 53cb939 commit 52bb9ec

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

.github/workflows/ansible-lint.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11
name: Ansible Lint
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
paths-ignore:
6+
- 'README.md'
7+
- 'Vagrantfile'
8+
- 'docker/**'
9+
- 'vagrant/**'
10+
pull_request:
11+
paths-ignore:
12+
- 'README.md'
13+
- 'Vagrantfile'
14+
- 'docker/**'
15+
- 'vagrant/**'
416

517
jobs:
618
build:

0 commit comments

Comments
 (0)