mirror of
https://github.com/coredns/coredns.git
synced 2025-12-05 18:05:10 -05:00
* Add yamllint config. * Add yamllint workflow. * Cleanup linting issues. * Remove unnecessary `set -x -e` from workflows. Signed-off-by: SuperQ <superq@gmail.com>
19 lines
460 B
YAML
19 lines
460 B
YAML
name: 'Yamllint GitHub Actions'
|
|
on:
|
|
- pull_request
|
|
jobs:
|
|
yamllint:
|
|
name: 'Yamllint'
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: 'Checkout'
|
|
uses: actions/checkout@master
|
|
- name: 'Yamllint'
|
|
uses: karancode/yamllint-github-action@master
|
|
with:
|
|
yamllint_file_or_dir: '.'
|
|
yamllint_strict: false
|
|
yamllint_comment: true
|
|
env:
|
|
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|