We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 53c9da6 commit e2cfb7cCopy full SHA for e2cfb7c
.github/workflows/claude-react-on-review.yml
@@ -0,0 +1,23 @@
1
+name: "Claude React On Review"
2
+
3
+on:
4
+ pull_request_review:
5
+ types: [submitted]
6
7
+jobs:
8
+ claude:
9
+ runs-on: ubuntu-latest
10
+ permissions:
11
+ contents: read
12
+ actions: write
13
+ if: github.event.pull_request.user.login == 'phpstan-bot'
14
+ steps:
15
+ - name: Harden the runner (Audit all outbound calls)
16
+ uses: step-security/harden-runner@5ef0c079ce82195b2a36a210272d6b661572d83e # v2.14.2
17
+ with:
18
+ egress-policy: audit
19
20
+ - name: Trigger Claude Review PR
21
+ env:
22
+ GH_TOKEN: ${{ secrets.PHPSTAN_BOT_TOKEN }}
23
+ run: gh workflow run claude-pr-review.yml -f pr_number=${{ github.event.pull_request.number }} -f review_id=${{ github.event.review.id }} --repo phpstan-bot/phpstan-src
0 commit comments