Skip to content

Commit c7b49a3

Browse files
authored
feat(github): Remove waiting-response label automatically (#413)
1 parent 365f499 commit c7b49a3

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Remove waiting-response label
2+
3+
on: [issue_comment]
4+
5+
jobs:
6+
remove_label:
7+
if: github.actor != 'cyrilgdn'
8+
runs-on: ubuntu-latest
9+
permissions:
10+
issues: write
11+
pull-requests: write
12+
steps:
13+
- uses: actions/github-script@v6
14+
with:
15+
script: |
16+
github.rest.issues.removeLabel({
17+
issue_number: context.issue.number,
18+
owner: context.repo.owner,
19+
repo: context.repo.repo,
20+
name: ["waiting-response"]
21+
})

0 commit comments

Comments
 (0)