We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent accb504 commit 8e69e3aCopy full SHA for 8e69e3a
1 file changed
.github/workflows/label-with-contact-neede.yml
@@ -0,0 +1,14 @@
1
+name: Label with contact needed
2
+on:
3
+ issue_comment:
4
+ types: created
5
+jobs:
6
+ one:
7
+ runs-on: ubuntu-latest
8
+ if: >-
9
+ (github.event.comment.body == '#contact' ||
10
+ github.event.comment.body == '#contact-needed')
11
+ steps:
12
+ - run: |
13
+ echo "Labeling issue ${{ github.event.issue.number }} with 'contact needed'"
14
+ curl -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" -d '{"labels": ["contact needed"]}' https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.issue.number }}/labels
0 commit comments