Merge pull request #11133 from cli/wm/execute-gh
Ensure gh executes in workflow check script
This commit is contained in:
commit
8e5ed00ad7
1 changed files with 1 additions and 2 deletions
3
.github/workflows/pr-help-wanted.yml
vendored
3
.github/workflows/pr-help-wanted.yml
vendored
|
|
@ -23,8 +23,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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue