Skip to content

Commit

Permalink
Update validate.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dpgiakatos authored Oct 11, 2024
1 parent 61508b2 commit 9c2fc89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
# Check if PR author belongs to a specific team
team_slug="iij" # Replace with your actual team slug
team_membership=$(github_api_call_orgs GET "teams/{team_slug}/memberships/{pr_author}")
team_membership=$(github_api_call_orgs GET "teams/${team_slug}/memberships/${pr_author}")
is_team_member=$(echo $team_membership | jq -r '.role')
echo "Author permissions: $is_team_member"
Expand Down

0 comments on commit 9c2fc89

Please sign in to comment.