mirror of
https://github.com/coredns/coredns.git
synced 2025-12-09 03:45:11 -05:00
* Add additional permissions Signed-off-by: Yong Tang <yong.tang.github@outlook.com> * Fix yamllint warning Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
20 lines
550 B
YAML
20 lines
550 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@ec3a7ce113134d7a93b817d10a8272cb61118579
|
|
- name: 'Yamllint'
|
|
uses: karancode/yamllint-github-action@dd59165b84d90d37fc919c3c7dd84c7e37cd6bfb
|
|
with:
|
|
yamllint_file_or_dir: '.'
|
|
yamllint_strict: false
|
|
yamllint_comment: true
|
|
env:
|
|
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|