ci: fix docs deploy + bump Node 20 actions#92
Merged
Conversation
Two CI hygiene fixes:
1. mkdocs docs deploy was failing on every main push because
`docs/index.md` links to `changelog.md`, but only `CHANGELOG.md` at
the repo root exists. Stage it into `docs/` at build time (mirroring
the existing CONTRIBUTING pattern) and add it to mkdocs nav.
2. GitHub is removing Node.js 20 from runners on Sept 16 2026 and
forcing the switch on June 2 2026. Bump the deprecated actions:
- `actions/checkout@v4` → `@v6`
- `astral-sh/setup-uv@v6` → `@v8.1.0` (v8+ removed rolling major
tags as a supply-chain mitigation; must pin to exact version)
- `actions/setup-python@v5` → `@v6`
Verified `mkdocs build --strict` passes locally with the changelog
copied into docs/.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Two CI hygiene fixes bundled because they touch the same workflow files.
1. mkdocs docs-deploy was failing on every main push
docs/index.md:72links tochangelog.md, but onlyCHANGELOG.mdat the repo root exists.mkdocs build --strictaborts withWARNING - Doc file ''index.md'' contains a link ''changelog.md'', but the target is not found among documentation files.Same root cause on4f52755and22728e8.Fix: stage
CHANGELOG.mdintodocs/changelog.mdat build time (mirrors the existingCONTRIBUTING.md → docs/contributing.mdpattern) and add it to mkdocs nav.2. Node.js 20 deprecation
GitHub removes Node 20 from runners on Sept 16 2026 and force-switches on June 2 2026. Bumping the flagged actions:
actions/checkout@v4→@v6(Node 24 support)astral-sh/setup-uv@v6→@v8.1.0— pinned exact because v8.0.0 removed rolling major/minor tags as a supply-chain mitigation (@v8no longer resolves)actions/setup-python@v5→@v6(Node 24 support)Test plan
mkdocs build --strictpasses locally withCHANGELOG.mdcopied intodocs/🤖 Generated with Claude Code