Skip to content

Commit b65e481

Browse files
committed
feat: add yamllint
1 parent b61a529 commit b65e481

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

.github/workflows/yamllint.yml

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

0 commit comments

Comments
 (0)