chore: [Hub Bot] Refresh metadata 2024-12-16 #2456
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: Check YAML format | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
merge_group: | |
jobs: | |
lint: | |
name: Lint YAML files | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4.2.2 | |
- name: Get changed files in the docs folder | |
id: changed-files | |
uses: tj-actions/changed-files@v45.0.5 | |
with: | |
files: | | |
_data/**/*.yml | |
- uses: astral-sh/setup-uv@v4 | |
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 }} |