Bug fix in PR assignee workflow

This commit is contained in:
Vipul 2022-11-29 13:19:00 +05:30 committed by GitHub
parent 2a6cd14175
commit f8116c8945
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,4 +17,4 @@ jobs:
- name: Add Assignee
run: |
curl -X POST -H "Accept: application/vnd.github+json" -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN}}" https://api.github.com/repos/${{github.repository}}/issues/${{ github.event.issue.number}}/assignees -d '{"assignees":["${{steps.oncall.outputs.CURRENT}}"]}'
curl -X POST -H "Accept: application/vnd.github+json" -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN}}" https://api.github.com/repos/${{github.repository}}/issues/${{ github.event.pull_request.number}}/assignees -d '{"assignees":["${{steps.oncall.outputs.CURRENT}}"]}'