Existing sites only get this release’s workflow and script fixes by running
docouture upgrade. Do that first, then follow the checklist below.
Do this
-
Run
docouture upgrade, review the diff, and commit.github/workflows/anddocs/scripts/. See CLI. -
If you have your own workflow that calls
docouture-publish.yml, pass it theAPP_PRIVATE_KEYsecret — it is now required. -
Git-flow sites: check that
docs/package.jsonnow hasdocouture.prereleaseBranch(upgradeadds it), and grant the GitHub Apppull-requests: writeandworkflows: writein addition tocontents: write. See Branching model and Releasing a documentation. -
Run
docouture buildand fix whatever it reports, thendocouture doctor.
What you get
-
Git-flow release sync. A versioned release bumps
docs/.release-versionon the release branch; a newsync-prereleasejob now opens a pull request carrying that bump into the prerelease branch, so it no longer goes stale. A failed sync turns the run red but never blocks publishing. -
Least-privilege workflows. Read-only default token, a narrowed GitHub App token, pinned actions and runners, and
github.refpassed throughenvinstead of being interpolated into a script. -
Fixes. The release preview no longer fails on pull requests from forks, and
check-linksno longer truncates its output when links are broken. -
Strict build for existing sites.
docouture upgradenow setsruntime.log.failure_leveltoerrorindocs/antora-playbook*.yml, replacing any other value and printing each file it changed.