Repository navigation
feat(workflow): publish docs PRs with GitHub App credentials and run on WP Codebox v0.34.0 - #196
Merged
Merged
Conversation
…on WP Codebox v0.34.0 - add optional PUBLISH_APP_ID / PUBLISH_APP_PRIVATE_KEY secrets, forwarded to WP Codebox as ACCESS_APP_ID / ACCESS_APP_PRIVATE_KEY; WP Codebox v0.34.0 mints an installation token so docs PRs open as the app and trigger pull_request CI (Automattic/wp-codebox#2596) - forward only an explicit PUBLISH_TOKEN as ACCESS_TOKEN; forwarding github.token would override the minted app token. WP Codebox owns the github.token fallback. - pin WP Codebox v0.34.0 (9fce8a7) with its published asset digests - document app credentials as the way to get CI on docs PRs Closes #195 AI assistance: Extra Chill Bot (Claude), direct fallback authorized by Chris after the Homeboy Lab refused Cook admission for hours.
chubes4
added a commit
to Extra-Chill/extrachill
that referenced
this pull request
Nov 25, 2026
…1824) Pin Docs Agent ee333d5 (Automattic/docs-agent#196, WP Codebox v0.34.0) and pass HOMEBOY_APP_ID / HOMEBOY_APP_PRIVATE_KEY as PUBLISH_APP_ID / PUBLISH_APP_PRIVATE_KEY so docs PRs open as homeboy-ci and trigger pull_request CI. Drop the never-set DOCS_PUBLISH_TOKEN. Closes #1800 AI assistance: Extra Chill Bot (Claude).
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.
Closes #195
What
PUBLISH_APP_ID/PUBLISH_APP_PRIVATE_KEY, forwarded to WP Codeboxrun-agent-task.ymlasACCESS_APP_ID/ACCESS_APP_PRIVATE_KEY. WP Codebox v0.34.0 (feat(agent-task): mint GitHub App installation tokens from app credentials wp-codebox#2596) mints a GitHub App installation token inside the agent job, so docs PRs open as the app and trigger the consumer'spull_requestCI.ACCESS_TOKENis now forwarded as${{ secrets.PUBLISH_TOKEN }}only. Forwardinggithub.tokenwould take precedence over the minted app token. With nothing set, WP Codebox falls back togithub.tokenitself, so same-repo behavior is unchanged (cross-repo publication isn't used by Docs Agent).9fce8a758b44109b86da22db68a1b6c801bdd6bb), with the release asset digests intests/wp-codebox-release.fixture.jsonrecomputed from the published v0.34.0 assets. The regression-run reference fields in the fixture are unchanged.PUBLISH_TOKENstays as the explicit override.Verification
With
WP_CODEBOX_DIRat the v0.34.0 checkout, all pass:validate-docs-agent-packages,validate-docs-agent-completion-contract,validate-external-native-package-sources,validate-wp-codebox-run-agent-task-contract,repair-docs-links-smoke.Process note
Finalized outside Homeboy. Cook
agent-task-1b9bc114-4d5b-4916-993c-6584105ce53asat in Lab admission for ~3.5h due to host pressure. Chris authorized a direct fallback. The change was made in an isolated clone/branch, and the deterministic checks above were run. The cook was cancelled.AI assistance: Extra Chill Bot (Claude).