feat: derive the documented CLI surface from cobra and fail CI on drift (ENG-6871) #484
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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: ${{ github.event_name == 'pull_request' }} # stray review comments must not cancel an in-progress review | |
| jobs: | |
| codex-review: | |
| uses: praetorian-inc/public-workflows/.github/workflows/codex-code.yml@3fb9ffbace86c9e93a7b92170241dd54b5031608 # v2.11.3 | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| with: | |
| model: "gpt-5.6-sol" | |
| secrets: | |
| OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} |