Skip to content

Commit 3c63f68

Browse files
authored
phpstan-bot: react only on 'open' pull requests (#5254)
1 parent 594b7bd commit 3c63f68

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/claude-react-on-review.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ jobs:
99
runs-on: ubuntu-latest
1010
if: >
1111
github.event.pull_request.user.login == 'phpstan-bot'
12+
&& github.event.pull_request.state == 'open'
1213
&& github.event.review.user.login != 'phpstan-bot'
14+
&& github.event.review.state != 'approved'
1315
steps:
1416
- name: Harden the runner (Audit all outbound calls)
1517
uses: step-security/harden-runner@5ef0c079ce82195b2a36a210272d6b661572d83e # v2.14.2

0 commit comments

Comments
 (0)