From 908539836b73eae8eef7d6b84dfec08428849106 Mon Sep 17 00:00:00 2001 From: James Cole Date: Sat, 13 Jan 2024 07:38:21 +0100 Subject: [PATCH] Use correct string name. --- .github/workflows/debug-info-actions.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/debug-info-actions.yml b/.github/workflows/debug-info-actions.yml index 307ce74162..545ad8fc7b 100644 --- a/.github/workflows/debug-info-actions.yml +++ b/.github/workflows/debug-info-actions.yml @@ -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: