Skip to content

Nextflow lint GHA workflow: check for formatting changes too #724

Nextflow lint GHA workflow: check for formatting changes too

Nextflow lint GHA workflow: check for formatting changes too #724

Workflow file for this run

name: Check Markdown Headings
on:
pull_request:
jobs:
check-headings:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
- name: Get changed markdown files
id: changed-files
uses: tj-actions/changed-files@v42
with:
files: "**.md"
files_ignore: "**/transcripts/**/*.md"
- name: Run check_headings.py
if: steps.changed-files.outputs.any_changed == 'true'
run: uv run .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"