Skip to content

Commit 832bc68

Browse files
committed
lint on both directories
1 parent dd2b620 commit 832bc68

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/yamllint.yaml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,24 @@ on:
33
pull_request:
44
paths:
55
- 'services/**'
6+
- 'templates/**'
67
jobs:
78
yamllint:
89
name: 'Yamllint'
910
runs-on: ubuntu-latest
1011
steps:
1112
- name: 'Checkout'
1213
uses: actions/checkout@master
13-
- name: 'Yamllint'
14+
- name: 'Yamllint services'
15+
uses: karancode/yamllint-github-action@master
16+
with:
17+
yamllint_file_or_dir: 'services'
18+
yamllint_config_datapath: 'services/.yamllint'
19+
yamllint_strict: false
20+
yamllint_comment: true
21+
env:
22+
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23+
- name: 'Yamllint templates'
1424
uses: karancode/yamllint-github-action@master
1525
with:
1626
yamllint_file_or_dir: 'templates'

0 commit comments

Comments
 (0)