Skip to content

Commit ad296c2

Browse files
authored
Merge branch refs/heads/2.1.x into 2.2.x
2 parents 1c5bad8 + 47789d7 commit ad296c2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ jobs:
3131
env:
3232
COMMENT_BODY: ${{ github.event.comment.body || github.event.review.body || '' }}
3333
run: |
34-
if echo "$COMMENT_BODY" | grep -qF "@phpstan-bot"; then
34+
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
3537
echo "triggered=true" >> "$GITHUB_OUTPUT"
3638
else
3739
echo "triggered=false" >> "$GITHUB_OUTPUT"

0 commit comments

Comments
 (0)