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