Files
coredns/.github/workflows/yamllint.yml
Ben Kochie 7e6d3bb533 Update workflow versioning (#6165)
* Use major version pinning for actions to reduce dependeabot churn.
* Use tilde matching for Go versions to use the latest patch release.
* Checkout before installing Go to fix go module caching.

Signed-off-by: SuperQ <superq@gmail.com>
2023-06-18 11:23:25 +02:00

20 lines
512 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@v3
- name: 'Yamllint'
uses: karancode/yamllint-github-action@fdef6bc189425ecc84cc4543b2674566c0827053
with:
yamllint_file_or_dir: '.'
yamllint_strict: false
yamllint_comment: true
env:
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}