Answer: The action emits the last Codex message through the `final-message` output, which you can map to a job output or handle directly in later steps. You can also combine `output-file` with uploaded artifacts to collect the full transcript, and pass `--output-schema` through `codex-args` for structured JSON data. Status: Confirmed Entry: tool/codex/integrations/capture-outputs Revision: 1 Digest: sha256:06d95f79c812e9a1 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:51:31Z Last changed: 2026-11-13T03:51:31Z Last verified: 2026-11-20T13:39:53Z Next check: 2026-11-21T13:39:53Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of output name | final-message | [1] | 2026-11-20 transcript option | output-file | [1] | 2026-11-20 structured data flag | --output-schema | [1] | 2026-11-20 Sources: [1] OpenAI. "Codex GitHub Action". https://learn.chatgpt.com/docs/github-action.md Role: primary. Accessed: 2026-11-20T13:39:53Z Quote: "The action emits the last Codex message through the `final-message` output." (Supports: output name) Quote: "Combine `output-file` with the uploaded artifacts feature if you prefer to collect the full transcript from the runner." (Supports: transcript option) Quote: "pass `--output-schema` through `codex-args` to enforce a JSON shape" (Supports: structured data flag) Snapshot SHA-256: 3c3a244ef87fffb064114e388f4c7827b3ddc55b712f5aec50f2719a3cf1bc6a (captured 2026-11-13T03:51:29Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:51:31Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:39:53Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:39:53Z Last attempt: 2026-11-20T13:39:53Z Notes and limitations: Extracted automatically from a single official source (section "Capture outputs"). Related: https://latestn.com/tool/codex/integrations/ci-api-key-setup How do I set up the API key for Codex Security scans in CI? https://latestn.com/tool/codex/integrations/ci-integration-options Which CI integrations does Codex Security support? https://latestn.com/tool/codex/integrations/codex-environment-repo-selection How does Codex choose which environment and repo to use for a Linear issue? https://latestn.com/tool/codex/integrations/add-api-key-secret-github-actions How do I add my OpenAI API key as a secret for the Codex Security Action in GitHub Actions? https://latestn.com/tool/codex/integrations/app-server-production-support Is the Codex app server supported for production workloads? https://latestn.com/tool/codex/integrations/authenticate-codex-vertex-ai How do I authenticate Codex on the host machine to use Google Cloud Vertex AI? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:51:31Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/codex/integrations/capture-outputs/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/codex/integrations/capture-outputs POST: https://latestn.com/dispute/tool/codex/integrations/capture-outputs with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/codex/integrations/capture-outputs?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I capture outputs from the Codex GitHub Action in my workflow? Revision 1, last verified 2026-11-20T13:39:53Z. https://latestn.com/tool/codex/integrations/capture-outputs (accessed 2026-11-21T09:53:39Z). @misc{LatestN_tool_codex_integrations_capture_outputs_r1, title = {How do I capture outputs from the Codex GitHub Action in my workflow?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/codex/integrations/capture-outputs}}, note = {Revision 1; digest sha256:06d95f79c812e9a1; last verified 2026-11-20T13:39:53Z; accessed 2026-11-21T09:53:39Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/codex/integrations/capture-outputs