Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions .github/workflows/agents-codex.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
steps:
- name: checkout-merge-suggest
if: inputs.mode == 'suggest'
uses: actions/checkout@v5
uses: actions/checkout@v4
with:
ref: refs/pull/${{ github.event.pull_request.number }}/merge

Expand All @@ -53,14 +53,14 @@ jobs:
run: |
mkdir -p "$RUNNER_TEMP/codex-home"
cat > "$RUNNER_TEMP/codex-home/config.toml" <<'TOML'
model = "gpt-5-codex"
model_reasoning_effort = "high"
model_supports_reasoning_summaries = true
TOML
model = "gpt-5-codex"
model_reasoning_effort = "high"
model_supports_reasoning_summaries = true
TOML

- name: checkout-head-apply
if: inputs.mode == 'apply'
uses: actions/checkout@v5
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.ref }}
Expand All @@ -70,10 +70,10 @@ TOML
run: |
mkdir -p "$RUNNER_TEMP/codex-home"
cat > "$RUNNER_TEMP/codex-home/config.toml" <<'TOML'
model = "gpt-5-codex"
model_reasoning_effort = "high"
model_supports_reasoning_summaries = true
TOML
model = "gpt-5-codex"
model_reasoning_effort = "high"
model_supports_reasoning_summaries = true
TOML

- name: run-codex-suggest
if: inputs.mode == 'suggest'
Expand Down Expand Up @@ -132,7 +132,7 @@ TOML

- name: post-summary-comment-suggest
if: inputs.mode == 'suggest'
uses: actions/github-script@v7
uses: actions/github-script@v8
env:
SUGGESTIONS_FILE: .agents_suggestions.json
with:
Expand Down
4 changes: 2 additions & 2 deletions examples/agents-codex-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout PR merge ref
uses: actions/checkout@v5
uses: actions/checkout@v4
with:
ref: refs/pull/${{ github.event.pull_request.number }}/merge

Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:

- name: post suggestions as PR comments
if: always()
uses: actions/github-script@v7
uses: actions/github-script@v8
env:
SUGGESTIONS_FILE: .agents_suggestions.json
with:
Expand Down