mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-01 13:59:54 +00:00
## Summary ... ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-8377-WIP-Chore-Actions-updates-and-cleanup-2f66d73d3650818483a8dffa32a6f245) by [Unito](https://www.unito.io) --------- Co-authored-by: Amp <amp@ampcode.com>
34 lines
692 B
YAML
34 lines
692 B
YAML
# Description: Validates YAML syntax and style using yamllint with relaxed rules
|
|
name: 'CI: YAML Validation'
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- '**/*.yml'
|
|
- '**/*.yaml'
|
|
pull_request:
|
|
paths:
|
|
- '**/*.yml'
|
|
- '**/*.yaml'
|
|
|
|
jobs:
|
|
yaml-lint:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v6
|
|
with:
|
|
python-version: '3.x'
|
|
|
|
- name: Install yamllint
|
|
run: |
|
|
python -m pip install --upgrade pip
|
|
python -m pip install yamllint
|
|
|
|
- name: Validate YAML syntax and style
|
|
run: ./scripts/cicd/check-yaml.sh
|