Update validate_yamllint.yml

This commit is contained in:
Edward Firmo
2024-01-11 12:13:42 +01:00
parent 1ce2efd25f
commit a1e50237fb

View File

@@ -1,4 +1,3 @@
---
name: Validate YAML
on:
@@ -9,7 +8,7 @@ on:
jobs:
code_scan:
name: Validate YAML
runs-on: "ubuntu-latest"
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4.1.0
@@ -23,4 +22,5 @@ jobs:
- name: Validate YAML
if: steps.changed-files.outputs.any_changed == 'true'
run: yamllint -c "./.rules/yamllint.yml" "${{ steps.changed-files.outputs.all_changed_files }}"
run: |
yamllint -c ./.rules/yamllint.yml -f github -s ${{ steps.changed-files.outputs.all_changed_files }}