fix action
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user