mirror of
https://github.com/LOLBAS-Project/LOLBAS
synced 2024-12-27 23:37:58 +01:00
lint changes for push
This commit is contained in:
parent
26c7c40413
commit
c64d355075
17
.github/workflows/yaml-lint-reviewdog.yml
vendored
Normal file
17
.github/workflows/yaml-lint-reviewdog.yml
vendored
Normal 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'
|
17
.github/workflows/yaml-linting.yml
vendored
17
.github/workflows/yaml-linting.yml
vendored
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user