Skip to content

chore: sync master → development#222

Merged
iannbing merged 2 commits into
developmentfrom
master
Apr 21, 2026
Merged

chore: sync master → development#222
iannbing merged 2 commits into
developmentfrom
master

Conversation

@iannbing
Copy link
Copy Markdown
Owner

Bring the post-release commits on `master` back into `development` so the two branches don't drift.

What's in here

  • `71a33d3` — `ci(docs): drop self-flip step — GITHUB_TOKEN can't call Pages admin API`. The `gh api PUT /pages` step in docs.yml always returns 403 (workflow token can deploy but can't call Pages admin API). Removed and documented the one-time manual flip in a comment.

The merge commit (`b53fe6b`) is a no-op re-merge of development's own history, so the only real change landing on development is the docs workflow fix above.

Why merge instead of cherry-pick

Keeps the release-tag history linear on development: `v2.0.0` points at `b53fe6b` which will be reachable from development after this merge, and future `git describe` on development will surface `v2.0.0` as the most recent stable tag.

iannbing and others added 2 commits April 22, 2026 00:27
The idempotent `gh api PUT /pages -F build_type=workflow` step was
meant to self-heal the Pages source from the legacy `gh-pages`
branch to `workflow` on the first run. It always returns 403
because the workflow's `GITHUB_TOKEN` — even with `pages: write`
declared — can only DEPLOY via Pages (the `deploy-pages` action),
not modify the Pages site settings, which is a repo-admin scope.

Done manually instead: `gh api -X PUT repos/$REPO/pages -F build_type=workflow`
from an admin-authed CLI. Comment added describing the one-time
flip so it's visible next time someone reads the workflow.

First docs.yml run on master failed at this step; removing it lets
the rerun complete — Pages is already in workflow mode now.
@iannbing iannbing merged commit ab6b920 into development Apr 21, 2026
14 of 15 checks passed
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