From e6c508570b045229a070261075704ec52df9246f Mon Sep 17 00:00:00 2001 From: Nancy Butler <42977925+mantis-toboggan-md@users.noreply.github.com> Date: Fri, 20 Oct 2023 12:09:20 -0700 Subject: [PATCH] update port-issue with echo --- .github/workflows/port-issue.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/port-issue.yaml b/.github/workflows/port-issue.yaml index afb0dfb..768745e 100644 --- a/.github/workflows/port-issue.yaml +++ b/.github/workflows/port-issue.yaml @@ -18,7 +18,7 @@ jobs: run: | echo "${GITHUB_REPOSITORY_OWNER}" echo "${GITHUB_ACTOR}" - echo orgs/${GITHUB_REPOSITORY_OWNER}/members + gh api orgs/${GITHUB_REPOSITORY_OWNER}/members --paginate if gh api orgs/${GITHUB_REPOSITORY_OWNER}/members --paginate | jq -e --arg GITHUB_ACTOR "$GITHUB_ACTOR" '.[] | select(.login == $GITHUB_ACTOR)' > /dev/null; then echo "${GITHUB_ACTOR} is a member" echo "is_member=true" >> $GITHUB_ENV