run linting only when files inside roles change
Signed-off-by: Sebastian Gumprich <[email protected]>
This commit is contained in:
1 parent
52d08ff009
commit
330a1eb94d
1 file changed
+4
@@ -5,9 +5,13 @@ on: # yamllint disable-line rule:truthy
|
||||
# Run CI against all pushes (direct commits, also merged PRs), Pull Requests
|
||||
push:
|
||||
branches: [master]
|
||||
paths:
|
||||
- 'roles/**'
|
||||
pull_request:
|
||||
# The branches below must be a subset of the branches above
|
||||
branches: [master]
|
||||
paths:
|
||||
- 'roles/**'
|
||||
|
||||
jobs:
|
||||
ansible-lint:
|
||||
|
||||
Reference in new issue
Block a user