We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3e27a3 commit 23bab18Copy full SHA for 23bab18
.github/workflows/assign.yml
@@ -0,0 +1,14 @@
1
+name: Assign
2
+on:
3
+ issue_comment:
4
+ types: created
5
+
6
+jobs:
7
+ one:
8
+ runs-on: ubuntu-latest
9
+ steps:
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
0 commit comments