File tree Expand file tree Collapse file tree 2 files changed +10
-7
lines changed
Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 55USER=$1
66TOKEN=$2
77
8- echo " $( curl -L \
8+ echo " $( gh api \
99 -H " Accept: application/vnd.github+json" \
10- -H " Authorization: Bearer $TOKEN " \
1110 -H " X-GitHub-Api-Version: 2022-11-28" \
12- https://api.github.com /orgs/immutable/teams) "
11+ /orgs/immutable/teams) "
1312
14- echo " $( curl -L \
13+ echo " $( gh api \
1514 -H " Accept: application/vnd.github+json" \
16- -H " Authorization: Bearer $TOKEN " \
1715 -H " X-GitHub-Api-Version: 2022-11-28" \
18- https://api.github.com /orgs/immutable/teams/sdk/members) "
16+ /orgs/immutable/teams/sdk/members) "
1917
20- response=$( curl -L -H " Authorization: Bearer $TOKEN " -H " Accept: application/vnd.github+json" -H " X-GitHub-Api-Version: 2022-11-28" " https://api.github.com/orgs/immutable/teams/sdk/memberships/codeschwert" )
18+ response=$( gh api \
19+ -H " Accept: application/vnd.github+json" \
20+ -H " X-GitHub-Api-Version: 2022-11-28" \
21+ /orgs/immutable/teams/sdk/memberships/codeschwert)
2122
2223echo " $response "
2324
Original file line number Diff line number Diff line change 1212jobs :
1313 update :
1414 runs-on : ubuntu-latest
15+ env :
16+ GH_TOKEN : ${{ secrets.UNITY_IMMUTABLE_SDK_GITHUB_TOKEN }}
1517 steps :
1618 - name : Checkout code
1719 uses : actions/checkout@v3
You can’t perform that action at this time.
0 commit comments