Add file extension validation

This commit is contained in:
Wietze 2023-10-03 17:10:21 +01:00
parent 03711770b7
commit be18d9b26d
No known key found for this signature in database
GPG Key ID: E17630129FF993CF

View File

@ -7,6 +7,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- 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
uses: ibiqlik/action-yamllint@v3
with: