Files
coredns/.github/workflows/yamllint.yml

20 lines
560 B
YAML

name: 'Yamllint GitHub Actions'
on:
- pull_request
permissions: read-all
jobs:
yamllint:
name: 'Yamllint'
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: 'Yamllint'
uses: karancode/yamllint-github-action@4052d365f09b8d34eb552c363d1141fd60e2aeb2
with:
yamllint_file_or_dir: '.'
yamllint_strict: false
yamllint_comment: true
env:
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}