chore: Update use of deprecated hub command (#5127)

This commit is contained in:
Michael Li authored and GitHub committed 2024-09-23 14:37:22 -04:00
1 parent 0ef88d0f05
commit 30145b1f9c
1 file changed
+1 -1
+1 -1
View File
@@ -22,7 +22,7 @@ jobs:
id: boundary-team-role
run: |
TEAM=boundary
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, skipping ticket creation"
else