diff --git a/.github/codex/home/config.toml b/.github/codex/home/config.toml new file mode 100644 index 0000000..e1c908e --- /dev/null +++ b/.github/codex/home/config.toml @@ -0,0 +1 @@ +approval_policy = "never" diff --git a/.github/workflows/issue-implement.yml b/.github/workflows/issue-implement.yml index 24bfa2d..a6cb854 100644 --- a/.github/workflows/issue-implement.yml +++ b/.github/workflows/issue-implement.yml @@ -155,7 +155,7 @@ jobs: working-directory: ../agent-worktree prompt-file: .github/codex/prompts/issue-implement.md sandbox: workspace-write - codex-args: '["--ask-for-approval", "never"]' + codex-home: .github/codex/home output-file: codex-issue-implementation.md - name: Run project checks if available diff --git a/.github/workflows/pr-review.yml b/.github/workflows/pr-review.yml index 81c5a39..30aeee1 100644 --- a/.github/workflows/pr-review.yml +++ b/.github/workflows/pr-review.yml @@ -183,7 +183,7 @@ jobs: effort: ${{ vars.CODEX_EFFORT || 'medium' }} prompt-file: trusted-base/.github/codex/prompts/pr-review.md sandbox: read-only - codex-args: '["--ask-for-approval", "never"]' + codex-home: .github/codex/home output-file: codex-pr-review.md - name: Post review notes as PR comment