fix action (#8715)

This commit is contained in:
hailey
2025-07-24 16:31:37 -07:00
committed by GitHub
parent 1ee91d2c90
commit 101b3262b8
+4 -2
View File
@@ -15,9 +15,11 @@ jobs:
steps: steps:
- name: Check if bot is mentioned - name: Check if bot is mentioned
id: check-mention id: check-mention
env:
COMMENT: ${{ github.event.comment.body }}
run: | run: |
if [[ "${{ github.event.comment.body }}" == *"@github-actions"* ]] || \ if [[ "$TITLE" == *"@github-actions"* ]] || \
[[ "${{ github.event.comment.body }}" == *"github-actions[bot]"* ]]; then [[ "$TITLE" == *"github-actions[bot]"* ]]; then
bot_mentioned=true bot_mentioned=true
else else
bot_mentioned=false bot_mentioned=false