Skip to content

chore(deps): bump millionco/react-doctor from 736abc183ac491b4e954fc6bedec3a9a1b73d38b to 01820bb4fd4d0a4aebcd8df2b2a143a098649cb2 #51

chore(deps): bump millionco/react-doctor from 736abc183ac491b4e954fc6bedec3a9a1b73d38b to 01820bb4fd4d0a4aebcd8df2b2a143a098649cb2

chore(deps): bump millionco/react-doctor from 736abc183ac491b4e954fc6bedec3a9a1b73d38b to 01820bb4fd4d0a4aebcd8df2b2a143a098649cb2 #51

name: Codex review gate
on:
pull_request_target:
types: [opened, synchronize, reopened, ready_for_review]
issue_comment:
types: [created]
workflow_dispatch:
inputs:
pull_request:
description: Numero della PR da verificare
required: true
type: number
permissions:
contents: read
issues: read
pull-requests: read
statuses: write
jobs:
gate:
name: Aggiorna gate Codex
if: >-
github.event_name != 'issue_comment' ||
(github.event.issue.pull_request &&
github.event.comment.body == '@codex review' &&
(github.event.comment.author_association == 'OWNER' ||
github.event.comment.author_association == 'MEMBER' ||
github.event.comment.author_association == 'COLLABORATOR'))
concurrency:
group: codex-review-${{ github.event.pull_request.number || github.event.issue.number || inputs.pull_request }}
cancel-in-progress: true
runs-on: ubuntu-latest
timeout-minutes: 310
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
ref: ${{ github.event.repository.default_branch }}
persist-credentials: false
- name: Verifica il gate
run: node --test scripts/codex-review-gate.test.mjs
- name: Attendi la review Codex
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PULL_REQUEST_NUMBER: ${{ inputs.pull_request }}
run: node scripts/codex-review-gate.mjs