Skip to content

Commit

Permalink
test: get additional team data
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeSchwert committed Jun 7, 2024
1 parent 1e00ef5 commit 05d33dc
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/scripts/check_team_membership.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,18 @@ set -x
USER=$1
TOKEN=$2

echo "$(curl -L \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer $TOKEN" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/orgs/immutable/teams)"

echo "$(curl -L \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer $TOKEN" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/orgs/immutable/teams/sdk/members)"

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")

echo "$response"
Expand Down

0 comments on commit 05d33dc

Please sign in to comment.