Skip to content

Add OpenAI Codex CLI as assistant provider #55782

Add OpenAI Codex CLI as assistant provider

Add OpenAI Codex CLI as assistant provider #55782

Workflow file for this run

# This job prevents accidental auto-merging of PRs when jobs that are conditionally
# triggered (for example, those defined in `cross-version-tests.yml`) are either still
# in the process of running or have resulted in failures.
name: Protect
on:
pull_request:
types:
- opened
- synchronize
- reopened
merge_group:
types:
- checks_requested
concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
cancel-in-progress: true
defaults:
run:
shell: bash
jobs:
protect:
# Skip this job in a merge queue
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
timeout-minutes: 120
permissions:
checks: read # to read check statuses
actions: read # to read workflow runs and jobs
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
sparse-checkout: |
.github
- uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
with:
retries: 3
script: |
const script = require('./.github/workflows/protect.js');
await script({ github, context });