Skip to content

Commit

Permalink
chore: log response
Browse files Browse the repository at this point in the history
  • Loading branch information
saikumarrs committed Dec 11, 2024
1 parent 8b0aca7 commit bb89de0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/update-cache-policy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ jobs:
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/orgs/${{ env.ORG_NAME }}/teams/${{ env.TEAM_NAME }}/memberships/$actor)
echo "Response: $response"
if echo "$response" | grep -q '"state": "active"'; then
echo "$actor is a member of $TEAM_NAME"
else
Expand Down

0 comments on commit bb89de0

Please sign in to comment.