We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1c5bad8 + 47789d7 commit ad296c2Copy full SHA for ad296c2
.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