mirror of
https://github.com/status-im/consul.git
synced 2025-01-22 03:29:43 +00:00
Replace hub
with gh
for member roles on JIRA sync checks (#19089)
Update jira-pr.yaml Change from `hub` to `gh` for checking member roles
This commit is contained in:
parent
754ab9abf2
commit
677e16a830
2
.github/workflows/jira-pr.yaml
vendored
2
.github/workflows/jira-pr.yaml
vendored
@ -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…
x
Reference in New Issue
Block a user