Merge pull request #2497 from jhaals/jhaals/tests #4027
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/[email protected] | |
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 }} |