File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,17 +13,13 @@ permissions:
1313
1414jobs :
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
You can’t perform that action at this time.
0 commit comments