Skip to content

[data] [base-hunting] minor change to salt crabs in fang #404

[data] [base-hunting] minor change to salt crabs in fang

[data] [base-hunting] minor change to salt crabs in fang #404

Workflow file for this run

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