Skip to content

Commit 52cbacb

Browse files
authored
feat: Add no-response bot (#586)
1 parent 46a6ae5 commit 52cbacb

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

.github/workflows/no-response.yaml

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# Borrow from https://github.com/flutter/flutter/blob/master/.github/workflows/no-response.yaml
2+
name: No Response
3+
4+
# Both `issue_comment` and `scheduled` event types are required for this Action
5+
# to work properly.
6+
on:
7+
issue_comment:
8+
types: [created]
9+
schedule:
10+
# Schedule for five minutes after the hour, every hour
11+
- cron: '5 * * * *'
12+
13+
# By specifying the access of one of the scopes, all of those that are not
14+
# specified are set to 'none'.
15+
permissions:
16+
issues: write
17+
18+
jobs:
19+
noResponse:
20+
runs-on: ubuntu-latest
21+
if: ${{ github.repository == 'AgoraIO/Agora-Flutter-SDK' }}
22+
steps:
23+
- uses: godofredoc/no-response@0ce2dc0e63e1c7d2b87752ceed091f6d32c9df09
24+
with:
25+
token: ${{ github.token }}
26+
# Comment to post when closing an Issue for lack of response. Set to `false` to disable
27+
closeComment: >
28+
Without additional information, we are unfortunately not sure how to
29+
resolve this issue. We are therefore reluctantly going to close this
30+
bug for now.
31+
If you find this problem please file a new issue with the same description,
32+
what happens, logs and the output. All system setups
33+
can be slightly different so it's always better to open new issues and reference
34+
the related ones.
35+
Thanks for your contribution.
36+
# Number of days of inactivity before an issue is closed for lack of response.
37+
daysUntilClose: 21
38+
# Label requiring a response.
39+
responseRequiredLabel: "waiting for customer response"

0 commit comments

Comments
 (0)