[scripts][workorders][data][base-recipes] fix for an issue with rod parts #314
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Valid YAML syntax | |
on: | |
push: | |
paths: | |
- "data/*.yaml" | |
- "profiles/**.yaml" | |
pull_request: | |
paths: | |
- "data/*.yaml" | |
- "profiles/**.yaml" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
validate-yaml: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Get changed files | |
id: changed-files | |
uses: tj-actions/changed-files@v41 | |
with: | |
files: | | |
data/*.yaml | |
profiles/*.yaml | |
- name: Validate YAML file | |
if: steps.changed-files-excluded.outputs.any_changed == 'true' | |
run: | | |
for file in ${{ steps.changed-files.outputs.all_changed_files }}; do | |
yamllint -d relaxed -f parsable ${file} | |
done |