Skip to content

ci: fix docs deploy + bump Node 20 actions#92

Merged
massive-value merged 1 commit into
mainfrom
ci-docs-hygiene
May 13, 2026
Merged

ci: fix docs deploy + bump Node 20 actions#92
massive-value merged 1 commit into
mainfrom
ci-docs-hygiene

Conversation

@massive-value

Copy link
Copy Markdown
Owner

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:72 links to changelog.md, but only CHANGELOG.md at the repo root exists. mkdocs build --strict aborts with WARNING - Doc file ''index.md'' contains a link ''changelog.md'', but the target is not found among documentation files. Same root cause on 4f52755 and 22728e8.

Fix: stage CHANGELOG.md into docs/changelog.md at build time (mirrors the existing CONTRIBUTING.md → docs/contributing.md pattern) 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 (@v8 no longer resolves)
  • actions/setup-python@v5@v6 (Node 24 support)

Test plan

  • mkdocs build --strict passes locally with CHANGELOG.md copied into docs/
  • Post-merge: docs-deploy workflow goes green on main
  • Post-merge: no more Node 20 deprecation annotations on CI runs

🤖 Generated with Claude Code

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/.
@massive-value massive-value merged commit 1612d4d into main May 13, 2026
6 checks passed
@massive-value massive-value deleted the ci-docs-hygiene branch May 13, 2026 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant