chore: migrate audit bridge to AIAuditBridge#41
Conversation
Co-Authored-By: Codex <noreply@openai.com>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 664c6dc4c3
ℹ️ 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".
| FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true" | ||
| CODEX_AUDIT_ENABLED: ${{ vars.CODEX_AUDIT_ENABLED || 'true' }} | ||
| CODEX_AUDIT_BRIDGE_REPOSITORY: ${{ vars.CODEX_AUDIT_BRIDGE_REPOSITORY || 'QuantStrategyLab/CodexAuditBridge' }} | ||
| CODEX_AUDIT_BRIDGE_REPOSITORY: ${{ vars.CODEX_AUDIT_BRIDGE_REPOSITORY || 'QuantStrategyLab/AIAuditBridge' }} |
There was a problem hiding this comment.
Scope the app token to the new audit repository
When CROSS_REPO_GITHUB_APP_* credentials are configured, this default now dispatches to QuantStrategyLab/AIAuditBridge, but the GitHub App token step is still scoped to the CodexAuditBridge repository and the dispatch script prefers that app token over CODEX_AUDIT_DISPATCH_TOKEN. In that environment the workflow creates a token that cannot access the new target repo, so the monthly audit dispatch to /repos/QuantStrategyLab/AIAuditBridge/actions/workflows/codex_audit.yml/dispatches fails instead of falling back to the secret token.
Useful? React with 👍 / 👎.
Co-Authored-By: Codex <noreply@openai.com>
Summary
Validation