mirror of https://github.com/hashicorp/consul
Update jira-pr.yaml
Change from `hub` to `gh` for checking member rolespull/19089/head
parent
ad26494016
commit
ff451f3897
|
@ -40,7 +40,7 @@ jobs:
|
|||
id: is-team-member
|
||||
run: |
|
||||
TEAM=consul
|
||||
ROLE="$(hub api orgs/hashicorp/teams/${TEAM}/memberships/${{ github.actor }} | jq -r '.role | select(.!=null)')"
|
||||
ROLE="$(gh api orgs/hashicorp/teams/${TEAM}/memberships/${{ github.actor }} | jq -r '.role | select(.!=null)')"
|
||||
if [[ -n ${ROLE} ]]; then
|
||||
echo "Actor ${{ github.actor }} is a ${TEAM} team member"
|
||||
echo "MESSAGE=true" >> $GITHUB_OUTPUT
|
||||
|
|
Loading…
Reference in New Issue