Skip to content

Commit f8dbb48

Browse files
authored
Update deploy.yml
1 parent c24e0b1 commit f8dbb48

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,16 @@ jobs:
4646
https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.pull_request.number }}/assignees \
4747
-d '{"assignees":["hshah-mitre"]}'
4848
49+
- name: Assign reviewer via GitHub API
50+
env:
51+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
52+
run: |
53+
curl -X POST \
54+
-H "Authorization: token $GITHUB_TOKEN" \
55+
-H "Accept: application/vnd.github+json" \
56+
https://api.github.com/repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/requested_reviewers \
57+
-d '{"reviewers":["hshah-mitre"]}'
58+
4959
5060
5161
# Build stage - converting md file to html using MkDocs

0 commit comments

Comments
 (0)