Update codex-action to preserve TMPDIR (#22392) · intertermux-code/uv@01b6280 · GitHub
Skip to content

Commit 01b6280

Browse files
authored
Update codex-action to preserve TMPDIR (astral-sh#22392)
Update the `codex-action` pins to include [openai/codex-action#186](openai/codex-action#186). The change preserves `TMPDIR` when the action drops sudo privileges on Linux. The updated action rejects `--enable network_proxy` in `codex-args`. Move the code quality review workflow's `network_proxy` setting to its trusted configuration.
1 parent ae3d03b commit 01b6280

9 files changed

Lines changed: 11 additions & 11 deletions

‎.github/workflows/diagnose-workflow-failure.yml‎

Lines changed: 1 addition & 1 deletion

‎.github/workflows/fix-bug.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ jobs:
310310
- name: "Fix reproduced bug"
311311
id: fix-bug
312312
if: steps.prepare.outputs.existing != 'true'
313-
uses: openai/codex-action@66a81490a2326ee818531f7021d77e6398ae7062
313+
uses: openai/codex-action@a8d8be6ee028bea4525bc722d16f36687b408c81
314314
env:
315315
CARGO_HOME: ${{ runner.temp }}/cargo-home
316316
GH_TOKEN: ${{ github.token }}

‎.github/workflows/issue-triage.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ jobs:
142142

143143
- name: "Triage issue"
144144
id: triage
145-
uses: openai/codex-action@66a81490a2326ee818531f7021d77e6398ae7062
145+
uses: openai/codex-action@a8d8be6ee028bea4525bc722d16f36687b408c81
146146
env:
147147
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
148148
TMPDIR: ${{ runner.temp }}

‎.github/workflows/pull-request-code-quality-review.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ jobs:
4040
mkdir -p "$REVIEW_CONFIG/codex" "$RUNNER_TEMP/codex-code-quality-review"
4141
printf 'REVIEW_CONFIG=%s\n' "$REVIEW_CONFIG" >> "$GITHUB_ENV"
4242
cp agents/codex/config.toml "$REVIEW_CONFIG/codex/"
43+
printf '\n[features]\nnetwork_proxy = true\n' >> "$REVIEW_CONFIG/codex/config.toml"
4344
cp agents/prompts/pull-request-code-quality-review.md "$REVIEW_CONFIG/prompt.md"
4445
cp agents/schemas/pull-request-code-quality-review.json "$REVIEW_CONFIG/schema.json"
4546
cp agents/scripts/collect-pull-request-review-context.sh "$REVIEW_CONFIG/"
@@ -74,7 +75,7 @@ jobs:
7475
7576
- name: "Review pull request"
7677
id: review
77-
uses: openai/codex-action@c385816875cc2fc8e033ed9d1cba96f8c331210e # v1.11 + GitHub API retry
78+
uses: openai/codex-action@a8d8be6ee028bea4525bc722d16f36687b408c81
7879
env:
7980
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8081
TMPDIR: ${{ runner.temp }}/codex-code-quality-review
@@ -85,7 +86,6 @@ jobs:
8586
model: gpt-6-astra
8687
effort: xhigh
8788
permission-profile: "pull-request-review"
88-
codex-args: '["--enable", "network_proxy"]'
8989
safety-strategy: drop-sudo
9090
allow-bot-users: "astral-automations-bot[bot],renovate[bot]"
9191
prompt-file: "${{ env.REVIEW_CONFIG }}/prompt.md"

‎.github/workflows/pull-request-labels.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868

6969
- name: "Determine pull request labels"
7070
id: labels
71-
uses: openai/codex-action@66a81490a2326ee818531f7021d77e6398ae7062
71+
uses: openai/codex-action@a8d8be6ee028bea4525bc722d16f36687b408c81
7272
env:
7373
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7474
with:

‎.github/workflows/rebase-conflicted-pull-request.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ jobs:
115115
fi
116116
117117
- name: Rebase pull request
118-
uses: openai/codex-action@66a81490a2326ee818531f7021d77e6398ae7062
118+
uses: openai/codex-action@a8d8be6ee028bea4525bc722d16f36687b408c81
119119
env:
120120
BASE_REF: ${{ inputs.base-ref }}
121121
BASE_PREVIOUS_SHA: ${{ inputs.base-previous-sha }}

‎.github/workflows/release-prepare.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
} > "$RUNNER_TEMP/editorialize-changelog-prompt.md"
7676
7777
- name: "Rewrite changelog"
78-
uses: openai/codex-action@66a81490a2326ee818531f7021d77e6398ae7062
78+
uses: openai/codex-action@a8d8be6ee028bea4525bc722d16f36687b408c81
7979
with:
8080
openai-api-key: ${{ secrets.OPENAI_API_KEY }}
8181
codex-version: "0.153.4"

‎.github/workflows/reproduce-bug.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ jobs:
133133

134134
- name: "Reproduce issue behavior"
135135
id: reproduce
136-
uses: openai/codex-action@66a81490a2326ee818531f7021d77e6398ae7062
136+
uses: openai/codex-action@a8d8be6ee028bea4525bc722d16f36687b408c81
137137
env:
138138
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
139139
TMPDIR: ${{ runner.temp }}
@@ -303,7 +303,7 @@ jobs:
303303

304304
- name: "Create integration test"
305305
id: create-test
306-
uses: openai/codex-action@66a81490a2326ee818531f7021d77e6398ae7062
306+
uses: openai/codex-action@a8d8be6ee028bea4525bc722d16f36687b408c81
307307
env:
308308
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
309309
INSTA_UPDATE: "no"

‎.github/workflows/update-issue-context.yml‎

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)