Skip to content

Commit 58bc097

Browse files
committed
fix(workflows): adjust Codex CLI flag for full-auto mode
- Corrected the placement of the `--full-auto` flag in `codex.yml`. - Ensures proper execution of the Codex CLI command with the intended configuration for full-auto approval mode.
1 parent 515f781 commit 58bc097

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/codex.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
export OPENAI_BASE_URL=https://models.github.ai/inference
4444
4545
# any provider string would work here, it's just so codex knows it's using a custom model
46-
codex --provider github --model openai/gpt-4.1 "$INSTRUCTION" -- --approval-mode full-auto
46+
codex --provider github --model openai/gpt-4.1 --full-auto "$INSTRUCTION"
4747
4848
if [[ -n $(git status --porcelain) ]]; then
4949
git config user.name "GitHub Models Codex Bot"

0 commit comments

Comments
 (0)