Skip to content

Commit 1550ef3

Browse files
committed
ci: review all human pull requests
1 parent f54cc8b commit 1550ef3

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

.github/workflows/codex-pr-review.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,13 @@ permissions:
1313

1414
jobs:
1515
pr-review:
16-
# Fork PRs can carry adversarial content. Run the write-token bot only
17-
# after a maintainer explicitly adds safe-to-review.
16+
# Review all non-draft human PRs by default. The workflow restores the
17+
# trusted prompt from the base SHA before running the write-token bot.
1818
if: |
1919
github.event.pull_request.draft == false &&
2020
!endsWith(github.actor, '[bot]') &&
2121
!contains(github.event.pull_request.labels.*.name, 'bot-skip') &&
22-
vars.CODEX_BOT_ENABLED == 'true' &&
23-
(
24-
github.event.pull_request.head.repo.full_name == github.repository ||
25-
contains(github.event.pull_request.labels.*.name, 'safe-to-review')
26-
)
22+
vars.CODEX_BOT_ENABLED == 'true'
2723
runs-on: ubuntu-latest
2824
permissions:
2925
contents: read

0 commit comments

Comments
 (0)