Update validate_yamllint.yml
This commit is contained in:
6
.github/workflows/validate_yamllint.yml
vendored
6
.github/workflows/validate_yamllint.yml
vendored
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user