Repository navigation
release: v4.43.0 - add a pages deploy mode using the GitHub Pages… - #535
Merged
Merged
Conversation
…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)
Shinrai
approved these changes
Nov 25, 2026
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.
v4.43.0 — 2026-11-25
Minor release:
reusable-docs-publish.ymlcan deploy with the GitHub Pages actions instead of pushing agh-pagesbranch, and release PRs stop re-running the full CI matrix on a commit the push run already tested.Features
reusable-docs-publish.ymlcould only push the build to agh-pagesbranch, which needs Pages set to "Deploy from a branch", a bot-pushed branch in every repo, and the bot App secrets.deploy_mode: pagesrunsactions/configure-pagesbefore the build (the site's base path is inPAGES_BASE_PATH), uploadsoutput_dirwithactions/upload-pages-artifact, and deploys it withactions/deploy-pagesin a separate job under thegithub-pagesenvironment. Pages source must be "GitHub Actions"; nogh-pagesbranch or bot secrets are needed.branchstays the default. The reusable no longer declares any permissions, so its jobs inherit the calling job's grant: apages: writerequest would fail every branch-mode caller at startup, even on a job that gets skipped. The pages-mode caller grantscontents: read,pages: writeandid-token: write. The bot App secrets are now optional. Thedocs.ymltemplate carries a commented pages-mode job. Fixes #533 (#534)Bug Fixes
ci.ymltemplate ran the full matrix on every release PR (headnext/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 Ownerjob, backed by theci-status-owneraction, 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'schore: bump version, whichcommit-gateskips 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'sci.ymlhas to be re-synced fromexamples/individual-repo-workflows/core-cicd/ci.ymlto pick it up. Aci.ymlthat isn't re-synced keeps working with the duplicate runs.docs.ymltemplate.👥 Contributors
Co-authored-by: Shinrai [email protected]