Fix AI-menu triage: add proxy token exchange - #8041
Open
theletterf wants to merge 1 commit into
Open
Conversation
The run-docs-triage job calls the triage reusable workflow, which now requires a CODEX_API_KEY proxy token. Add the OIDC exchange job and pass the token explicitly; the issue-scope invocation is unchanged. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Contributor
Elastic Docs AI PR menuCheck the box to run an AI review for this pull request.
Powered by GitHub Agentic Workflows and docs-actions. For more information, reach out to the docs team. |
theletterf
enabled auto-merge (squash)
August 20, 2026 16:43
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.
The AI menu's
run-docs-triagejob callsgh-aw-issue-triage.lock.yml@v1directly — a second triage caller that #8037/#8038 didn't cover, so menu-triggered triage fails validation with "Neither CODEX_API_KEY nor OPENAI_API_KEY secret is set" (run 32389129623).Same pattern as
docs-triage.yml: anexchangejob (gated on the sametriage_triggeredcondition) trades the GitHub OIDC token for a short-lived proxy token and passes it explicitly asCODEX_API_KEY. Therun-docs-issue-scopeinvocation is untouched — the scope workflow still runs on Copilot and keepssecrets: inherit.🤖 Generated with Claude Code