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.
This commit is contained in:
Casey Romkes 2026-07-09 13:30:00 +02:00 committed by GitHub
commit f53397064b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 2 additions and 2 deletions

View file

@ -6,6 +6,8 @@ jobs:
generateTOC:
name: TOC Generator
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: technote-space/toc-generator@v4
with: