chore: migrate audit bridge to AIAuditBridge#24
Conversation
Co-Authored-By: Codex <noreply@openai.com>
🤖 Codex PR ReviewPlease ensure a human reviewer checks this PR before merging. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e30c89fd33
ℹ️ 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".
| timeout-minutes: 30 | ||
| env: | ||
| BRIDGE_REPOSITORY: ${{ vars.CODEX_AUDIT_BRIDGE_REPOSITORY || 'QuantStrategyLab/CodexAuditBridge' }} | ||
| BRIDGE_REPOSITORY: ${{ vars.CODEX_AUDIT_BRIDGE_REPOSITORY || 'QuantStrategyLab/AIAuditBridge' }} |
There was a problem hiding this comment.
Scope the app token to the new bridge repo
When CROSS_REPO_GITHUB_APP_ID and CROSS_REPO_GITHUB_APP_PRIVATE_KEY are configured, the workflow creates APP_TOKEN for the hard-coded CodexAuditBridge repository below, but this changed default dispatch target to QuantStrategyLab/AIAuditBridge. The dispatch step prefers APP_TOKEN over CODEX_AUDIT_DISPATCH_TOKEN, so scheduled/default runs in that environment will call the AIAuditBridge workflow with a token scoped to the old repo and fail authorization instead of dispatching the bridge.
Useful? React with 👍 / 👎.
Co-Authored-By: Codex <noreply@openai.com>
Summary
Validation