Files
coder/.github
Nick Vigilante 3db7a3ec6d ci: run linkspector on pull requests to release branches (#32131)
The docs link check (Linkspector, in `weekly-docs.yaml`) only runs on
pull requests to `main`, and its weekly scheduled run only checks
`main`. Pull requests to `release/**` never get it. That let #31796, a
backport to `release/2.39`, merge with a link to
`admin/workspaces/devcontainers/customizing-dev-containers.md`, `main`'s
layout for that page; on 2.39 the page is still under
`user-guides/devcontainers/`. No check flagged it, and the docs publish
has refused to build 2.39 since 2026-11-09 because of it.

This adds `release/**` to the `pull_request` branches, so the same check
runs on backports. On pull requests Linkspector only checks the Markdown
files the PR changes (`filter_mode: file`), so a backport pays only for
its own files. The Slack notification still fires only for the scheduled
run.

A pull request runs the workflow from the branch it targets, so this
only takes effect on a release branch once it's backported there. It
should be cherry-picked to each release branch that still takes docs
backports (at least 2.39, 2.38 and 2.37).

`actionlint` reports the workflow clean.

---

🤖 Built with AI assistance.
2026-11-18 14:58:44 +00:00
..