mirror of
https://github.com/LOLBAS-Project/LOLBAS
synced 2024-12-26 14:59:03 +01:00
Adding GitHub action for linting
This commit is contained in:
parent
65b0c24ed0
commit
c1765618c6
21
.github/workflows/yamllinting.yml
vendored
Normal file
21
.github/workflows/yamllinting.yml
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
name: Yaml Lint
|
||||
on: [push]
|
||||
jobs:
|
||||
lintDataFiles:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: yaml-lint
|
||||
uses: ibiqlik/action-yamllint@v3
|
||||
with:
|
||||
file_or_dir: yml/*.yaml
|
||||
config_file: .yamllint.yml
|
||||
lintTemplate:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: yaml-lint
|
||||
uses: ibiqlik/action-yamllint@v3
|
||||
with:
|
||||
file_or_dir: YML-Template.yaml
|
||||
config_file: .yamllint.yml
|
Loading…
Reference in New Issue
Block a user