Skip to content

chore: [Hub Bot] Refresh metadata 2024-11-25 #2419

chore: [Hub Bot] Refresh metadata 2024-11-25

chore: [Hub Bot] Refresh metadata 2024-11-25 #2419

name: Check YAML format
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
name: Lint YAML files
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Get changed files in the docs folder
id: changed-files
uses: tj-actions/[email protected]
with:
files: |
_data/**/*.yml
- uses: astral-sh/setup-uv@v3
with:
version: ">=0.4.30"
- name: Lint YAML files
if: steps.changed-files.outputs.any_changed == 'true'
run: uvx yamllint ${{ steps.changed-files.outputs.all_changed_files }}