Skip to content

Commit 1de0826

Browse files
authored
docs(codex): link archived recipes to current guidance (#3030)
1 parent 69438f6 commit 1de0826

3 files changed

Lines changed: 7 additions & 0 deletions

File tree

examples/codex/Autofix-github-actions.ipynb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
"source": [
88
"# Autofix CI failures on GitHub with Codex CLI\n",
99
"\n",
10+
"> **Archived example — use the current CI guidance.** The workflow below exposes an API key to the whole job and combines repository-controlled execution with repository write permissions. Do not copy that credential and permission layout. Use the [current autofix workflow](https://learn.chatgpt.com/docs/non-interactive-mode#example-autofix-ci-failures-in-github-actions), which separates patch generation from pull request publication, and the [Codex GitHub Action security checklist](https://learn.chatgpt.com/docs/github-action#security-checklist).\n",
11+
"\n",
1012
"## Purpose of this cookbook\n",
1113
"\n",
1214
"This cookbook shows you how to embed the OpenAI Codex CLI into your CI/CD pipeline so that when your builds or tests fail, codex automatically generates & proposes fixes. The following is an example in a node project with CI running in GitHub Actions. \n",

examples/codex/build_code_review_with_codex_sdk.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Build Code Review with the Codex SDK
22

3+
> **Archived example — review the current CI guidance before using these workflows.** The GitHub example below exposes API and repository tokens to the whole job and combines review with pull request write permissions. Do not copy that credential and permission layout; a read-only sandbox alone does not protect secrets. Use the [current Codex GitHub Action workflow and security checklist](https://learn.chatgpt.com/docs/github-action), which separate review from posting feedback. For other CI systems, follow the [automation authentication guidance](https://learn.chatgpt.com/docs/non-interactive-mode#authenticate-in-automation).
4+
35
With [Code Review](https://chatgpt.com/codex/settings/code-review) in Codex Cloud, you can connect your team's cloud hosted GitHub repository to Codex and receive automated code reviews on every PR. But what if your code is hosted on-prem, or you don't have GitHub as an SCM?
46

57
Luckily, we can replicate Codex's cloud hosted review process in our own CI/CD runners. In this guide, we'll build our own Code Review action using the Codex CLI headless mode with GitHub Actions, GitLab CI/CD, Azure DevOps Pipelines, and Jenkins.

examples/codex/codex_mcp_agents_sdk/building_consistent_workflows_codex_cli_agents_sdk.ipynb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
"metadata": {},
77
"source": [
88
"# Building Consistent Workflows with Codex CLI & Agents SDK\n",
9+
"\n",
10+
"> **Archived example — the Codex MCP server is deprecated.** This notebook uses `codex mcp-server`, which the [current documentation](https://learn.chatgpt.com/docs/mcp-server) retains for existing integrations. For new automation and CI jobs, start with the [Codex SDK](https://learn.chatgpt.com/docs/codex-sdk). For a deeper integration that manages authentication, conversation history, approvals, and streamed events, use the [Codex app server](https://learn.chatgpt.com/docs/app-server). These are different interfaces; the code below is not a migration example.\n",
11+
"\n",
912
"### Ensuring Repeatable, Traceable, and Scalable Agentic Development\n",
1013
"\n",
1114
"## Introduction\n",

0 commit comments

Comments
 (0)