about summary refs log tree commit diff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/pull-request-comment.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/pull-request-comment.yml b/.github/workflows/pull-request-comment.yml
index 2233fbbba..1a0ffe708 100644
--- a/.github/workflows/pull-request-comment.yml
+++ b/.github/workflows/pull-request-comment.yml
@@ -18,8 +18,8 @@ jobs:
         env:
           COMMENT: ${{ github.event.comment.body }}
         run: |
-          if [[ "$TITLE" == *"@github-actions"* ]] || \
-             [[ "$TITLE" == *"github-actions[bot]"* ]]; then
+          if [[ "$COMMENT" == *"@github-actions"* ]] || \
+             [[ "$COMMENT" == *"github-actions[bot]"* ]]; then
             bot_mentioned=true
           else
             bot_mentioned=false