mirror of
https://github.com/LOLBAS-Project/LOLBAS
synced 2024-12-28 15:58:24 +01:00
Add file extension validation
This commit is contained in:
parent
03711770b7
commit
be18d9b26d
2
.github/workflows/yaml-linting.yml
vendored
2
.github/workflows/yaml-linting.yml
vendored
@ -7,6 +7,8 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
- name: Check file extensions
|
||||||
|
run: if [[ $(find ./yml -type f -not -name "*.yml") ]]; then echo "Files with unexpected extension found, please ensure you use ".yml" (all lower case) for files in the yml/ folder."; exit 1; fi
|
||||||
- name: yaml-lint
|
- name: yaml-lint
|
||||||
uses: ibiqlik/action-yamllint@v3
|
uses: ibiqlik/action-yamllint@v3
|
||||||
with:
|
with:
|
||||||
|
Loading…
Reference in New Issue
Block a user