fix action

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