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>
This commit is contained in:
Ferdinand Thiessen 2025-02-28 13:12:50 +01:00
parent d03eb3cb5f
commit 318d2249f0
No known key found for this signature in database
GPG key ID: 45FAE7268762B400

View file

@ -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"