Skip to content

release: v4.43.0 - add a pages deploy mode using the GitHub Pages… - #535

Merged
cldmv-bot[bot] merged 7 commits into
masterfrom
next
Nov 25, 2026
Merged

cldmv-bot[bot] merged 7 commits into
masterfrom
next

Conversation

@cldmv-bot

@cldmv-bot cldmv-bot Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

v4.43.0 — 2026-11-25

Minor release: reusable-docs-publish.yml can deploy with the GitHub Pages actions instead of pushing a gh-pages branch, and release PRs stop re-running the full CI matrix on a commit the push run already tested.

Features

  • Pages deploy mode for the docs publisher. reusable-docs-publish.yml could only push the build to a gh-pages branch, which needs Pages set to "Deploy from a branch", a bot-pushed branch in every repo, and the bot App secrets. deploy_mode: pages runs actions/configure-pages before the build (the site's base path is in PAGES_BASE_PATH), uploads output_dir with actions/upload-pages-artifact, and deploys it with actions/deploy-pages in a separate job under the github-pages environment. Pages source must be "GitHub Actions"; no gh-pages branch or bot secrets are needed. branch stays the default. The reusable no longer declares any permissions, so its jobs inherit the calling job's grant: a pages: write request would fail every branch-mode caller at startup, even on a job that gets skipped. The pages-mode caller grants contents: read, pages: write and id-token: write. The bot App secrets are now optional. The docs.yml template carries a commented pages-mode job. Fixes #533 (#534)

Bug Fixes

  • Release PRs no longer run CI twice on the same commit. The ci.yml template ran the full matrix on every release PR (head next / hotfixes), even when the head was an ordinary merge the push run had just tested. On a repo with a three-hour suite that doubled the wait on every merge. A new 🧭 CI Status Owner job, backed by the ci-status-owner action, reads the head commit and decides which run reports ✅ Required PR Check. The release PR's own run tests the commit only when the head is the bot's chore: bump version, which commit-gate skips on the push path. For any other head, the run skips CI and reports under the no-op ⏭️ Required PR Check (reported by the push run) name. If the commit lookup fails, the run tests the commit anyway. The release PR's coverage badge now refreshes only on bump-commit heads. Fixes #531 (#532)

Upgrade notes

  • ci.yml: the fix lives in the caller template, so each repo's ci.yml has to be re-synced from examples/individual-repo-workflows/core-cicd/ci.yml to pick it up. A ci.yml that isn't re-synced keeps working with the duplicate runs.
  • Docs publishing: existing branch-mode callers need no change. To switch to pages mode, set the Pages source to "GitHub Actions" in Settings → Pages and use the pages job from the docs.yml template.
👥 Contributors

Co-authored-by: Shinrai [email protected]

Shinrai and others added 5 commits November 24, 2026 23:49
…d the head

The ci.yml template ran the full matrix on every release PR (head next or
hotfixes), even when the head was an ordinary merge the push run had just
tested. On slothlet that is three ~3h Build & Test legs run twice per merge.

A new CI Status Owner job reads the head commit and decides which run
reports Required PR Check. The release PR's run only tests the SHA when the
head is the bot's `chore: bump version`, which commit-gate skips on push. A
lookup failure fails safe and runs CI.

Resolves #531
…tions

reusable-docs-publish.yml could only push the build to a gh-pages branch.
deploy_mode: pages runs configure-pages before the build (base path in
PAGES_BASE_PATH), uploads output_dir with upload-pages-artifact and deploys
it in a separate job with deploy-pages and the github-pages environment. No
bot token or gh-pages branch is needed. branch stays the default.

The reusable no longer declares permissions: jobs inherit the caller's
grant, because a pages: write request on a skipped job would still fail
every branch-mode caller at startup. The bot App secrets are now optional.

Resolves #533
…d the head (#532)

Adds a 🧭 CI Status Owner job to the ci.yml template, backed by a new
`ci-status-owner` action. A release PR's `pull_request` run now only
runs the matrix when its head is the bot's `chore: bump version` commit,
which commit-gate skips on push. For any other head, the push run
already tested the SHA and reports ✅ Required PR Check, so the PR run
skips CI and reports under the no-op name. If the commit lookup fails,
the PR run runs CI anyway. Consumers pick this up through the fleet
ci.yml sync once it's on @v4.

Resolves [#531](#531)
…tions (#534)

Adds `deploy_mode: pages` to reusable-docs-publish.yml. It runs
configure-pages before the build (the base path goes into
`PAGES_BASE_PATH`), uploads `output_dir` with upload-pages-artifact, and
deploys it with deploy-pages in its own job under the `github-pages`
environment. Pages mode needs no bot token and no gh-pages branch.
`branch` is still the default.

The reusable no longer declares permissions, so its jobs inherit the
caller's grant. A `pages: write` request would fail every branch-mode
caller at startup, even on a job that gets skipped. The bot App secrets
are now optional. The docs.yml template and the setup guide document the
pages caller.

Resolves [#533](#533)
@cldmv-bot cldmv-bot Bot added ! release → master v4 flow: persistent next → master release PR (carries the next feature release) release Marks a pull request as a pending release — merge to publish a new version semver: minor This release adds new functionality in a backwards-compatible way type: bug Something is broken or not behaving as expected type: feature Implements new functionality — a PR or issue that adds a feature area: core Touches core library / runtime source code area: tests Touches test files, fixtures, or test infrastructure type: ci Changes to CI workflows, actions, or build pipelines type: config Changes to repository or project configuration files type: documentation Relates to docs, README updates, guides, or inline code comments labels Nov 25, 2026
Shinrai and others added 2 commits November 25, 2026 00:11
## 🚀 What's Changed

### 💥 Breaking Changes
_No breaking changes_

### ✨ Features
_No new features_

### 🐛 Bug Fixes
_No bug fixes_

### 📦 Dependencies
_No dependency updates_

### 🔧 Other Changes
- docs: v4.43.0 changelog (a206d86)



<details>
<summary>👥 Contributors</summary>

- @Shinrai

</details>
@cldmv-bot
cldmv-bot Bot merged commit 5e58049 into master Nov 25, 2026
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: core Touches core library / runtime source code area: tests Touches test files, fixtures, or test infrastructure ! release → master v4 flow: persistent next → master release PR (carries the next feature release) release Marks a pull request as a pending release — merge to publish a new version semver: minor This release adds new functionality in a backwards-compatible way type: bug Something is broken or not behaving as expected type: ci Changes to CI workflows, actions, or build pipelines type: config Changes to repository or project configuration files type: documentation Relates to docs, README updates, guides, or inline code comments type: feature Implements new functionality — a PR or issue that adds a feature

Projects

None yet

1 participant