Skip to content

Commit

Permalink
Make release
Browse files Browse the repository at this point in the history
  • Loading branch information
ivvist committed May 5, 2024
1 parent 5dfd467 commit f90f1ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/wf-sp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:

# Check team membership
TEAM_MEMBERSHIP=$(curl -s -o /dev/null -w "%{http_code}" -H "Authorization: Bearer ${{ secrets.PERSONAL_TOKEN }}" "https://api.github.com/orgs/$ORG_NAME/teams/$TEAM_NAME/memberships/$USER_NAME")

echo "$TEAM_MEMBERSHIP"
if [[ $TEAM_MEMBERSHIP -eq 200 ]]; then
echo "The user $USER_NAME is a member of the team $TEAM_NAME within the organization $ORG_NAME."
else
Expand Down

0 comments on commit f90f1ac

Please sign in to comment.