lint changes for push

This commit is contained in:
xenoscr 2022-09-10 17:17:55 -04:00
parent 26c7c40413
commit c64d355075
No known key found for this signature in database
GPG Key ID: 52C26F96860C0DAA
2 changed files with 22 additions and 12 deletions

View File

@ -0,0 +1,17 @@
---
name: YAML Lint with reviewdog
on:
pull_request:
branches:
- master
jobs:
lintFiles:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run yamllint
uses: reviewdog/action-yamllint@v1
with:
reporter: github-pr-review # Change reporter.
yamllint_flags: '--config-file .github/.yamllint'

View File

@ -1,20 +1,13 @@
---
name: YAML Lint
on:
push:
branches:
- master
pull_request:
branches:
- master
name: YAML Lint Push Check
on: [push]
jobs:
lintFiles:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run yamllint
uses: reviewdog/action-yamllint@v1
- name: Frenck's yamllint
uses: frenck/action-yamllint@v1
with:
reporter: github-pr-review # Change reporter.
yamllint_flags: '--config-file .github/.yamllint'
config: ".github/.yamllint"