Skip to content

Commit 16284aa

Browse files
authored
Update re-response logic (#1253)
1 parent caf3a15 commit 16284aa

File tree

2 files changed

+33
-16
lines changed

2 files changed

+33
-16
lines changed

.github/no-response.yml

Lines changed: 0 additions & 16 deletions
This file was deleted.

.github/workflows/no-response.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# A workflow to close issues where the author hasn't responded to a request for
2+
# more information; see https://github.com/godofredoc/no-response for docs.
3+
4+
name: No Response
5+
6+
# Both `issue_comment` and `scheduled` event types are required.
7+
on:
8+
issue_comment:
9+
types: [created]
10+
schedule:
11+
# Schedule for five minutes after the hour, every hour
12+
- cron: '5 * * * *'
13+
14+
# All permissions not specified are set to 'none'.
15+
permissions:
16+
issues: write
17+
18+
jobs:
19+
noResponse:
20+
runs-on: ubuntu-latest
21+
if: ${{ github.repository_owner == 'google' }}
22+
steps:
23+
- uses: godofredoc/no-response@0ce2dc0e63e1c7d2b87752ceed091f6d32c9df09
24+
with:
25+
responseRequiredLabel: "State: needs info"
26+
daysUntilClose: 14
27+
# Comment to post when closing an Issue for lack of response.
28+
closeComment: >
29+
Without additional information we're not able to resolve this
30+
issue, so it will be closed at this time. You're still free to add
31+
more info and respond to any questions above, though. We'll reopen
32+
the case if you do. Thanks for your contribution!
33+
token: ${{ github.token }}

0 commit comments

Comments
 (0)