From 31b3dc1ba6c77ca446b8b5c210864db5a0070ebe Mon Sep 17 00:00:00 2001 From: William Martin Date: Mon, 16 Jun 2025 20:46:24 +0200 Subject: [PATCH] Ensure gh executes in workflow check script --- .github/workflows/pr-help-wanted.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/pr-help-wanted.yml b/.github/workflows/pr-help-wanted.yml index 5475d2eff..0b86cae85 100644 --- a/.github/workflows/pr-help-wanted.yml +++ b/.github/workflows/pr-help-wanted.yml @@ -20,8 +20,7 @@ jobs: if: !github.event.pull_request.draft run: | # Skip if PR is from a bot or org member - if [ "$PR_AUTHOR_TYPE" = "Bot" ] || "gh api orgs/cli/public_members/${PR_AUTHOR}" --silent 2>/dev/null - then + if [ "$PR_AUTHOR_TYPE" = "Bot" ] || gh api orgs/cli/public_members/"${PR_AUTHOR}" --silent 2>/dev/null; then exit 0 fi