Skip to content

Commit 4a4748d

Browse files
committed
build: grant Codex access to .git
1 parent ff8caf9 commit 4a4748d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/codex-update.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ jobs:
7070
openai-api-key: ${{ secrets.OPENAI_API_KEY }}
7171
codex-version: ${{ env.VERSION }}
7272
output-file: pr-body.md
73+
codex-args: >-
74+
-c sandbox_workspace_write.writable_roots=["${{ github.workspace }}/.git"]
7375
prompt: >
7476
Finalize the update using codex-update-compat skill.
7577
Commit the changes, the message should mention that types or/and tests after the update were fixed.

0 commit comments

Comments
 (0)