We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7217179 commit 47789d7Copy full SHA for 47789d7
.github/workflows/claude-react-on-comment.yml
@@ -31,7 +31,9 @@ jobs:
31
env:
32
COMMENT_BODY: ${{ github.event.comment.body || github.event.review.body || '' }}
33
run: |
34
- if echo "$COMMENT_BODY" | grep -qF "@phpstan-bot"; then
+ if [ "${{ github.event.comment.user.login || github.event.review.user.login || '' }}" = "phpstan-bot" ]; then
35
+ echo "triggered=false" >> "$GITHUB_OUTPUT"
36
+ elif echo "$COMMENT_BODY" | grep -qF "@phpstan-bot"; then
37
echo "triggered=true" >> "$GITHUB_OUTPUT"
38
else
39
echo "triggered=false" >> "$GITHUB_OUTPUT"
0 commit comments