ci: set up OpenWiki generation - #147
Open
reeseherber wants to merge 1 commit into
Open
Conversation
|
Caution The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased. |
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.
What this adds
The hardened OpenWiki workflow copied verbatim from psd401/psd401-prr: openwiki@0.2.0 pinned, Bedrock OpenAI-compatible endpoint (us-west-2, serving zai.glm-5), push-to-default plus weekly Monday cron, rolling docs PR via peter-evans/create-pull-request, and a secret gate that skips cleanly until the key is configured. Also adds a
.openwiki/scratch-dir line to .gitignore (the generatedopenwiki/tree without the dot stays tracked).REQUIRED FOLLOW-UP (org admin — Kris)
BEDROCK_API_KEY(or add a repo-levelBEDROCK_API_KEYsecret). Must be a LONG-TERM Bedrock key — short-term keys expire within 12h and strand the schedule.Seeding
The initial
openwiki/tree should be generated locally and committed, along with a wiki pointer in CLAUDE.md under a Documentation section (the aistudio PR documenso#1163 pattern; full first-generation is deliberately not run in CI). Until seeded,--updateruns bootstrap by model judgment — review the first rolling PR carefully or seed manually.Warning
Running
openwiki code --initlocally clobbers this hardened workflow with the stock template. Never accept that rewrite; restore this version.