run linting only when files inside roles change

Signed-off-by: Sebastian Gumprich <[email protected]>
This commit is contained in:
Sebastian Gumprich committed 2023-01-30 10:23:25 +01:00
1 parent 52d08ff009
commit 330a1eb94d
1 file changed
+4
+4
View File
@@ -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: