Add Codex docs sync on PR merge - #2
Merged
Merged
Conversation
juangaitanv
approved these changes
Jul 27, 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.
What
Adds
.github/workflows/update_docs.yml: on merge tomain, opens a PR against the docs repo describing the change. CallsCorgea/internal_actions/sync-docs-action@mainunmodified, the same pattern our other repos already use. First workflow in this repo.Notes
OPENAI_API_KEYandDOCS_REPO_TOKENto be configured. A preflight step warns and skips when either is absent, so this is safe to merge now and begins working once they are set. Thesecretscontext is not available to a job-levelif, hence the step.pull_request, so the job skips them rather than showing a failed check.actions/checkoutstep: the action checks this repo out to./sourceitself, and a root checkout would placeSKILL.mdfiles under the model's working directory as a decoy edit target.pr_infoinput, so the shared action needed no change.Merge order: third, after Corgea/docs#283 so the first sync has a page to update.
Related: Corgea/docs#283, Corgea/internal_actions#2