Skip to content

Commit 30a5d87

Browse files
authored
Update deploy.yml
1 parent 0d9c052 commit 30a5d87

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,17 +46,18 @@ jobs:
4646
https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.pull_request.number }}/assignees \
4747
-d "{\"assignees\":[\"${{ github.actor }}\"]}"
4848
49-
- name: Assign reviewer via GitHub API
49+
- name: Assign team reviewer via GitHub API
5050
env:
5151
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5252
run: |
5353
curl -v -X POST \
5454
-H "Authorization: token $GITHUB_TOKEN" \
5555
-H "Accept: application/vnd.github+json" \
5656
-H "Content-Type: application/json" \
57-
-d '{"reviewers":["vsong15"]}' \
57+
-d '{"team_reviewers":["ai4sdlc-reviewer"]}' \
5858
https://api.github.com/repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/requested_reviewers
5959
60+
6061
# -d '{"reviewers":["vsong15"], "team_reviewers":["ai4sdlc-reviewer"]}'
6162

6263

0 commit comments

Comments
 (0)