Browse Source

ci: fix request-reviews workflow

The team names are not scoped so we must remove the `nextcloud/` part.
Otherwise it fails with "is not a collaborator".

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
pull/51135/head
Ferdinand Thiessen 10 months ago
parent
commit
318d2249f0
No known key found for this signature in database GPG Key ID: 45FAE7268762B400
  1. 4
      .github/workflows/request-reviews.yml

4
.github/workflows/request-reviews.yml

@ -64,7 +64,7 @@ jobs:
-H "Accept: application/vnd.github+json" \
-H "X-GitHub-Api-Version: 2022-11-28" \
'/repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/requested_reviewers' \
-f "team_reviewers[]=nextcloud/server-backend"
-f "team_reviewers[]=server-backend"
- name: Assign frontend engineers
if: needs.changes.outputs.frontend == 'true'
env:
@ -75,4 +75,4 @@ jobs:
-H "Accept: application/vnd.github+json" \
-H "X-GitHub-Api-Version: 2022-11-28" \
'/repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/requested_reviewers' \
-f "team_reviewers[]=nextcloud/server-frontend"
-f "team_reviewers[]=server-frontend"
Loading…
Cancel
Save