Skip to content

Commit

Permalink
[infra] Fix automated reviewers assignment workflow - part 3 (mui#13012)
Browse files Browse the repository at this point in the history
  • Loading branch information
michelengelen authored and DungTiger committed Jul 23, 2024
1 parent efeec83 commit fe9b683
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/add-release-reviewers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ jobs:
/orgs/$ORG/teams/$TEAM_SLUG/members?role=maintainer&per_page=100 \
| jq 'reduce inputs as $i (.; . += $i)') \
echo "data=$DATA" >> $GITHUB_OUTPUT
echo "members=${{ join(fromJson($DATA).*.login) }}" >> $GITHUB_OUTPUT
# assign reviewers
- id: assign-reviewers
Expand All @@ -40,4 +39,4 @@ jobs:
-H "Authorization: Bearer $GITHUB_TOKEN" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/$ORG/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/requested_reviewers \
-d '{"reviewers":[${{ steps.get-members.outputs.members }}]}' \
-d '{"reviewers":[${{ join(fromJson(steps.get-members.outputs.data).*.login) }}]}' \

0 comments on commit fe9b683

Please sign in to comment.