From 4a0c6af3adffe9f5f0386974e98340873a76a9fc Mon Sep 17 00:00:00 2001 From: Hailey Date: Thu, 24 Jul 2025 17:17:11 -0700 Subject: [PATCH] fix action --- .github/workflows/pull-request-comment.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pull-request-comment.yml b/.github/workflows/pull-request-comment.yml index 2233fbbba6..1a0ffe7081 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