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 8c4c636 commit b2013cdCopy full SHA for b2013cd
.github/workflows/comment-commands.yml
@@ -0,0 +1,24 @@
1
+name: Comment Commands
2
+
3
+on:
4
+ issue_comment:
5
+ types: created
6
7
+jobs:
8
+ issue_assign:
9
+ if: (!github.event.issue.pull_request) && github.event.comment.body == 'take'
10
+ runs-on: ubuntu-latest
11
12
+ concurrency:
13
+ group: ${{ github.actor }}-issue-assign
14
15
+ permissions:
16
+ issues: write
17
18
+ steps:
19
+ - run: gh issue edit "${{ env.ISSUE_NUMBER }}" --add-assignee "${{ env.USER_LOGIN }}"
20
+ env:
21
+ ISSUE_NUMBER: ${{ github.event.issue.number }}
22
+ USER_LOGIN: ${{ github.event.comment.user.login }}
23
+ GH_TOKEN: ${{ github.token }}
24
+ GH_REPO: ${{ github.repository }}
0 commit comments