Skip to content

fix(ci): grant pull-requests: read to secrets-scan (fixes startup_failure) #37

fix(ci): grant pull-requests: read to secrets-scan (fixes startup_failure)

fix(ci): grant pull-requests: read to secrets-scan (fixes startup_failure) #37

Workflow file for this run

name: Codex PR Review
# Thin caller of the centralized hardened Codex PR reviewer
# (praetorian-inc/public-workflows). All security posture lives there:
# same-repo gate, anti-injection prompt, drop-sudo sandbox, Harden-Runner,
# CODEOWNERS on the reusable workflow file. Do not copy security settings
# back into this file — always widen via a PR to public-workflows.
on:
pull_request:
types: [opened, ready_for_review]
pull_request_review_comment:
types: [created]
concurrency:
group: codex-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
codex-review:
uses: praetorian-inc/public-workflows/.github/workflows/codex-code.yml@f7fb4810ccab4ab589499b632fb61983124ece79 # v2.4.0
permissions:
contents: read
pull-requests: write
with:
model: "gpt-5.5"
secrets:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}