Skip to content

Workflow outputs in Side Quests #1553

Workflow outputs in Side Quests

Workflow outputs in Side Quests #1553

name: Check Markdown Headings
on:
pull_request:
jobs:
check-headings:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Install uv
uses: astral-sh/setup-uv@v5
- name: Get changed markdown files
id: changed-files
uses: tj-actions/changed-files@v47.0.1
with:
files: "**.md"
files_ignore: |
**/transcripts/**/*.md
.claude/**/*.md
- name: Run check_headings.py
if: steps.changed-files.outputs.any_changed == 'true'
run: uv run -q .github/check_headings.py ${{ steps.changed-files.outputs.all_changed_files }}
- name: Skip check (no markdown files changed)
if: steps.changed-files.outputs.any_changed != 'true'
run: echo "No markdown files changed, skipping heading check"