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
No known key found for this signature in database
GPG Key ID: 45FAE7268762B400
1 changed files with
2 additions and
2 deletions
.github/workflows/request-reviews.yml
@ -64,7 +64,7 @@ jobs:
-H "Accept: application/vnd.github+json" \
-H "Accept: application/vnd.github+json" \
-H "X-GitHub-Api-Version: 2022-11-28" \
-H "X-GitHub-Api-Version: 2022-11-28" \
'/repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/requested_reviewers' \
'/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
- name : Assign frontend engineers
if : needs.changes.outputs.frontend == 'true'
if : needs.changes.outputs.frontend == 'true'
env:
env:
@ -75,4 +75,4 @@ jobs:
-H "Accept: application/vnd.github+json" \
-H "Accept: application/vnd.github+json" \
-H "X-GitHub-Api-Version: 2022-11-28" \
-H "X-GitHub-Api-Version: 2022-11-28" \
'/repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/requested_reviewers' \
'/repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/requested_reviewers' \
-f "team_reviewers[]=nextcloud/ server-frontend"
-f "team_reviewers[]=server-frontend"