Skip to content

[codex] Use central Codex PR review workflow#29

Merged
Pigbibi merged 3 commits into
mainfrom
codex-reusable-pr-review
Jul 5, 2026
Merged

[codex] Use central Codex PR review workflow#29
Pigbibi merged 3 commits into
mainfrom
codex-reusable-pr-review

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

Summary

  • migrate Codex PR review workflow to the central reusable workflow in QuantStrategyLab/AIAuditBridge
  • remove the repo-local review script copy

Rollout note

  • Draft PR: depends on QuantStrategyLab/AIAuditBridge#12 being merged into main
  • The central reusable workflow requires CODEX_AUDIT_REUSABLE_WORKFLOW_TOKEN when the caller repo cannot read AIAuditBridge with the default token

Validation

  • actionlint -oneline .github/workflows/*.yml
  • git diff --check

Co-Authored-By: Codex <noreply@openai.com>
@Pigbibi Pigbibi force-pushed the codex-reusable-pr-review branch from 0514a44 to 22c5b59 Compare July 4, 2026 16:21
Co-Authored-By: Codex <noreply@openai.com>
@github-actions

github-actions Bot commented Jul 5, 2026

Copy link
Copy Markdown
Contributor

🤖 Codex PR Review

⚠️ Human review required: The Codex review could not be completed.

No Codex service URL or API key configured. Set CODEX_AUDIT_SERVICE_URL, ANTHROPIC_API_KEY, or OPENAI_API_KEY.

Please ensure a human reviewer checks this PR before merging.

@Pigbibi Pigbibi marked this pull request as ready for review July 5, 2026 00:13
@cursor

cursor Bot commented Jul 5, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

Co-Authored-By: Codex <noreply@openai.com>
@cursor

cursor Bot commented Jul 5, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f2e7a3b9de

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +19 to +23
uses: QuantStrategyLab/AIAuditBridge/.github/workflows/codex_pr_review.yml@main
with:
caller_concurrency_key: pr-${{ github.event.pull_request.number || github.run_id }}
allow_unconfigured_backend: true
secrets: inherit

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Pass only the review secrets to the called workflow

In caller repos that have secrets beyond the Codex review backend, secrets: inherit makes every repo/org secret available to the reusable workflow in QuantStrategyLab/AIAuditBridge@main, including secrets that workflow does not declare. Because this job also points at a mutable external main ref, any future incompatible or compromised bridge workflow can read those additional credentials during PR review; the old local job only exposed the review-specific keys in its environment. Please pass the specific secrets this workflow needs instead of inheriting all of them.

Useful? React with 👍 / 👎.

@Pigbibi Pigbibi merged commit 683935b into main Jul 5, 2026
5 checks passed
@Pigbibi Pigbibi deleted the codex-reusable-pr-review branch July 5, 2026 00:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant