Use correct string name.

This commit is contained in:
James Cole
2024-01-13 07:38:21 +01:00
parent 9f71cf966c
commit 908539836b

View File

@@ -1,4 +1,4 @@
name: 'Issues - respond to hidden commands'
name: 'Issues - Respond to hidden commands'
# the workflow to execute on is comments that are newly created
on:
@@ -19,7 +19,7 @@ jobs:
steps:
- run: |
ISSUE_BODY=$(gh issue view 8380 --json body)
if [[ $string == *".eOxNZAmyGz6CXMyf"* ]]; then
if [[ $ISSUE_BODY == *".eOxNZAmyGz6CXMyf"* ]]; then
gh issue edit "$NUMBER" --add-label "$LABELS"
fi
env: