ci: rename base-url secret to OPENAI_BASE_URL + gitignore stray png#32
Conversation
… stray waveform png - codex-review now reads the provider endpoint from secrets.OPENAI_BASE_URL (renamed from CODEX_OPENAI_BASE_URL; secret recreated with the same value). - gitignore audio_pcm_waveform.png (test artifact), alongside dots-break.png. 🤖 Built with SMT <smt@agora.build>
🤖 Codex Code ReviewNo findings.
|
Resolve the responses endpoint in a shell step that strips any trailing slash before appending /v1/responses, so OPENAI_BASE_URL works with or without one (was: direct concat, which produced ...hostv1/responses on a missing slash). 🤖 Built with SMT <smt@agora.build>
🤖 Codex Code ReviewNo findings. The changes look low-risk: the secret rename is applied consistently, the endpoint construction now handles a missing trailing slash, and the |
… slash)
Drop the slash-normalizing step; OPENAI_BASE_URL is set with a trailing slash,
so ${{ secrets.OPENAI_BASE_URL }}v1/responses is correct. Note added to keep
the trailing-slash requirement explicit.
🤖 Built with SMT <smt@agora.build>
🤖 Codex Code ReviewNo findings. The changes are limited to the secret name used for |
Use ${{ secrets.OPENAI_BASE_URL }}/v1/responses (conventional base URL with
no trailing slash + leading-slash path). Secret updated to drop the trailing
slash accordingly.
🤖 Built with SMT <smt@agora.build>
🤖 Codex Code ReviewNo findings. The changes look low-risk: the workflow now references Residual risk: the workflow depends on the repo secret being renamed before/with merge; if |
Same secret-exfil hardening: OPENAI_API_KEY is in env and codex output is posted verbatim, so restrict triggering to OWNER/MEMBER/COLLABORATOR authors. Fork and untrusted PRs no longer run the secret-bearing review. 🤖 Built with SMT <smt@agora.build>
|
Claude finished @guohai's task in 1m 2s —— View job Code Review — PR #32
Verdict: LGTM. This is a low-risk CI/secret-rename + gitignore change. The diff is internally consistent and the trusted-author gate is a genuine security improvement. No blocking issues. What changed
Observations (non-blocking)1. Endpoint is brittle to the secret's slash format — by design, but flag it. 2. The author-association gate is the right call, and worth keeping in sync.
3. Naming. Note on scopeThe two changed files are both under |
🤖 Codex Code ReviewFindings
No security issue found with the secret rename itself, and the |
What
CODEX_OPENAI_BASE_URL→OPENAI_BASE_URL(in the workflow and as a repo secret; same value).audio_pcm_waveform.png(a local test artifact), next to the existingdots-break.png.Doubles as verification of #31
This PR does not touch
claude-code-review.yml, so claude-review validates againstmainand runs with the newly-mergedtrack_progress+use_sticky_comment— a posted summary comment here confirms #31 works. codex-review exercises the renamed secret.Follow-up
After merge, the old
CODEX_OPENAI_BASE_URLsecret is removed.Generated with SMT smt@agora.io