Skip to content

Commit

Permalink
Merge pull request #12 from vk26/add-action-yamllint
Browse files Browse the repository at this point in the history
 Enhancement: Add action-yamllint
  • Loading branch information
mgrachev committed Oct 16, 2020
2 parents c3a702d + 4e0e10a commit bf391c0
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/yamllint.yml
@@ -0,0 +1,17 @@
---
name: yamllint
on: [pull_request]

jobs:
yamllint:
name: check / yamllint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: yamllint
uses: reviewdog/action-yamllint@v1
with:
github_token: ${{ secrets.github_token }}
reporter: github-pr-review
fail_on_error: true
yamllint_flags: '-d "{extends: default, rules: {truthy: disable}}" .'

0 comments on commit bf391c0

Please sign in to comment.