Merge pull request #2142 from 24367dfa/master #3263
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Yamllint GitHub Actions" | |
# yamllint disable-line rule:truthy | |
on: [push, pull_request] | |
jobs: | |
yamllint: | |
name: "Yamllint" | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout" | |
uses: actions/checkout@v2 | |
- name: "Yamllint" | |
uses: karancode/yamllint-github-action@v2.0.0 | |
with: | |
yamllint_file_or_dir: "." | |
yamllint_config_filepath: ".github/linters/.yaml-lint.yml" | |
yamllint_strict: true | |
yamllint_comment: true | |
env: | |
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} |