mirror of
https://github.com/coredns/coredns.git
synced 2026-01-03 15:31:23 -05:00
Cleanup yaml formatting (#5151)
* Add yamllint config. * Add yamllint workflow. * Cleanup linting issues. * Remove unnecessary `set -x -e` from workflows. Signed-off-by: SuperQ <superq@gmail.com>
This commit is contained in:
18
.github/workflows/yamllint.yml
vendored
Normal file
18
.github/workflows/yamllint.yml
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
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 }}
|
||||
Reference in New Issue
Block a user