Skip to content

Commit 475b54a

Browse files
authored
Add linter for charts
1 parent 3dbff57 commit 475b54a

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/yaml-lint.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: 'Yamllint GitHub Actions'
2+
on:
3+
- pull_request
4+
jobs:
5+
yamllint:
6+
name: 'Yamllint'
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: 'Checkout'
10+
uses: actions/checkout@master
11+
- name: 'Yamllint'
12+
uses: karancode/yamllint-github-action@master
13+
with:
14+
yamllint_file_or_dir: 'charts/whatsapp-proxy-chart/*/*'
15+
yamllint_strict: false
16+
yamllint_comment: true
17+
env:
18+
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)