Skip to content

Commit 6b16753

Browse files
authored
Update deploy.yml
1 parent 30a5d87 commit 6b16753

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

.github/workflows/deploy.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,16 @@ jobs:
4545
-H "Accept: application/vnd.github+json" \
4646
https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.pull_request.number }}/assignees \
4747
-d "{\"assignees\":[\"${{ github.actor }}\"]}"
48-
48+
49+
50+
- name: check team reviewer via GitHub API
51+
env:
52+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
53+
run: |
54+
curl -H "Authorization: token $GITHUB_TOKEN" \
55+
-H "Accept: application/vnd.github+json" \
56+
https://api.github.com/orgs/Code-dot-mil/teams/ai4sdlc-reviewer
57+
4958
- name: Assign team reviewer via GitHub API
5059
env:
5160
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)