File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 7
7
one :
8
8
runs-on : ubuntu-latest
9
9
steps :
10
- - name :
11
- run : |
12
- if [[ "${{ github.event.comment.body }}" == "take" ]]; then
13
- echo "Assigning issue ${{ github.event.issue.number }} to ${{ github.event.comment.user.login }}"
14
- curl -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" -d '{"assignees": ["${{ github.event.comment.user.login }}"]}' https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.issue.number }}/assignees
15
- fi
10
+ - if : github.event.comment.body == 'take'
11
+ name :
12
+ run : |
13
+ echo "Assigning issue ${{ github.event.issue.number }} to ${{ github.event.comment.user.login }}"
14
+ curl -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" -d '{"assignees": ["${{ github.event.comment.user.login }}"]}' https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.issue.number }}/assignees
You can’t perform that action at this time.
0 commit comments