adaptive-lighting/.github/workflows/toc.yaml
Casey Romkes f53397064b
ci: fix pre-commit EOF and grant TOC push permission (#2)
- end-of-file-fixer: trim the double trailing newline on two openspec spec files so pre-commit passes (verified: pre-commit run --all-files is green).
- toc.yaml: add permissions.contents=write so the TOC generator's push to main stops 403-ing as github-actions[bot].

Does not touch the pytest/Docker core-checkout harness (PHCC migration) — that is a separate, design-level change.
2026-07-09 13:30:00 +02:00

14 lines
259 B
YAML

on:
push:
branches: [main]
name: TOC Generator
jobs:
generateTOC:
name: TOC Generator
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: technote-space/toc-generator@v4
with:
TOC_TITLE: ""