Skip to content

Commit 0c79e14

Browse files
authored
Update auto-label-wait-for-author.yml
1 parent ad91b64 commit 0c79e14

File tree

1 file changed

+5
-13
lines changed

1 file changed

+5
-13
lines changed
Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,13 @@
1-
name: Auto-label when user responds
2-
permissions:
3-
issues: write
4-
pull-requests: write
5-
discussions: write
6-
1+
name: Pending author response
72
on:
83
issue_comment:
94
types: [created]
105

116
jobs:
12-
run-check:
7+
issue_commented:
138
runs-on: ubuntu-latest
149
steps:
15-
- name: Add/remove labels when user responds
16-
uses: weibullguy/labeler@master
17-
# if: ${{ github.event.comment.user.login == github.event.issue.user.login && contains(github.event.issue.labels.*.name, 'wait-for-author') && !contains(github.event.issue.labels.*.name, 'author-responded') }}
18-
if: ${{ github.event.comment.user.login == github.event.issue.user.login && contains(github.event.issue.labels.*.name, 'wait-for-author') }}
10+
- uses: siegerts/pending-author-response@v1
1911
with:
20-
# add-labels: 'author-responded'
21-
remove-labels: 'wait-for-author'
12+
github-token: ${{ secrets.GITHUB_TOKEN }}
13+
pending-response-label: pending-response

0 commit comments

Comments
 (0)