Revert "chore: remove stale CDSE_Migration files (status.qmd, DATA/)" #44
This file contains hidden or 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: Validate QMD Frontmatter | |
| # Schema check on .qmd source: catches missing required fields and bad values | |
| # pre-merge. Unknown fields are fine - the build strips them | |
| # (build/strip_unknown_frontmatter.py). No auto-fix on purpose: silent | |
| # mutations during merge are confusing, so authors fix locally before push. | |
| on: | |
| pull_request: | |
| branches: | |
| - test | |
| - main | |
| paths: | |
| - 'DOCS/**/*.qmd' | |
| push: | |
| branches: | |
| - develop | |
| paths: | |
| - 'DOCS/**/*.qmd' | |
| workflow_dispatch: | |
| jobs: | |
| validate: | |
| name: Validate .qmd frontmatter | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 3 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: '3.11' | |
| - name: Install pyyaml | |
| run: pip install --quiet pyyaml | |
| - name: Validate frontmatter | |
| run: python .github/scripts/validate_qmd_files.py |