Skip to content

Commit 9ecc3f4

Browse files
authored
feat: add github action to remove pending-response labels (#11058)
* feat: add github action to remove pending-response labels * chore: improve speed of pending-response action with conditional exec
1 parent aceaebb commit 9ecc3f4

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: issue-pending-response
2+
on:
3+
issue_comment:
4+
types: [created]
5+
6+
jobs:
7+
issue_commented:
8+
if: ${{ !github.event.issue.pull_request && contains(github.event.issue.labels.*.name, 'pending-response') }}
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: siegerts/pending-author-response@v1
12+
with:
13+
github-token: ${{ secrets.GITHUB_TOKEN }}
14+
pending-response-label: pending-response

0 commit comments

Comments
 (0)