Skip to content

Commit e69c446

Browse files
authored
Create auto-label-wait-for-author.yml
1 parent 786d191 commit e69c446

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Auto-label when user responds
2+
permissions:
3+
issues: write
4+
5+
on:
6+
issue_comment:
7+
types: [created]
8+
9+
jobs:
10+
run-check:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Add/remove labels when user responds
14+
uses: andymckay/labeler@master
15+
# if: ${{ github.event.comment.user.login == github.event.issue.user.login && contains(github.event.issue.labels.*.name, 'waiting-for-author') && !contains(github.event.issue.labels.*.name, 'author-responded') }}
16+
if: ${{ github.event.comment.user.login == github.event.issue.user.login && contains(github.event.issue.labels.*.name, 'waiting-for-author') }}
17+
with:
18+
# add-labels: 'author-responded'
19+
remove-labels: 'waiting-for-author'

0 commit comments

Comments
 (0)