ci: add Castiron promotion workflow#2001
Draft
HAYDEN-OAI wants to merge 1 commit into
Draft
Conversation
HAYDEN-OAI
force-pushed
the
dev/hayden/castiron-promotion-workflow
branch
from
July 15, 2026 23:03
6e3e7e8 to
093069b
Compare
HAYDEN-OAI
force-pushed
the
dev/hayden/castiron-promotion-workflow
branch
from
July 16, 2026 21:38
093069b to
d2421cb
Compare
HAYDEN-OAI
force-pushed
the
dev/hayden/castiron-promotion-workflow
branch
from
July 16, 2026 22:09
d2421cb to
afb7ccd
Compare
HAYDEN-OAI
force-pushed
the
dev/hayden/castiron-promotion-workflow
branch
from
July 17, 2026 19:55
afb7ccd to
3d2b0e7
Compare
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.
Summary
workflow_dispatchentrypoint for promoting approved Node Castiron candidates into an exact-tree publicnextdraft PRopenai-node, and invokes the pinned shared writer from openai/openai#1138234openai-sdksfor a separate checkout token scoped only toopenai/openaiwith Contents read; the later SDK write token remains separately minted and scoped only toopenai-nodeplusopenai-node-internalcastiron-promotionenvironment, and a repository/org-levelCASTIRON_PROMOTION_ENABLED=truegateThis remains intentionally inert: the pin currently points at draft-stack commit
586f788be0094332e6d7f6be3a8195e0356d7dc1. The repository already hasCASTIRON_PROMOTION_ENABLED=falseplus acastiron-promotionenvironment restricted tomain, requiringsdks-team, and preventing self-review.Before enabling:
CASTIRON_CONTAINER_URI,CASTIRON_AZURE_CLIENT_ID, andCASTIRON_AZURE_TENANT_IDafter openai/openai#1143332 is appliedOPENAI_SDKS_APP_PRIVATE_KEYin the protected environment and set repository/org variableCASTIRON_PROMOTION_ENABLED=trueonly for the controlled first promotionValidation
actionlint v1.7.7 .github/workflows/castiron-promote.ymlprettier@3.1.1 --check .github/workflows/castiron-promote.yml