Skip to content

Commit 732429e

Browse files
authored
Revert no-response to fork. (#129775)
The core action is not scaling well for the # of Prs and bugs of the flutter project. Bug: flutter/flutter#129771
1 parent 91cb261 commit 732429e

File tree

1 file changed

+8
-17
lines changed

1 file changed

+8
-17
lines changed

.github/workflows/no-response.yaml

Lines changed: 8 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ name: No Response
33
# Both `issue_comment` and `scheduled` event types are required for this Action
44
# to work properly.
55
on:
6+
issue_comment:
7+
types: [created]
68
schedule:
79
# Schedule for five minutes after the hour, every hour
810
- cron: '5 * * * *'
@@ -11,18 +13,17 @@ on:
1113
# specified are set to 'none'.
1214
permissions:
1315
issues: write
14-
pull-requests: write
1516

1617
jobs:
17-
no-response:
18+
noResponse:
1819
runs-on: ubuntu-latest
1920
if: ${{ github.repository == 'flutter/flutter' }}
2021
steps:
21-
- uses: actions/stale@1160a2240286f5da8ec72b1c0816ce2481aabf84
22+
- uses: godofredoc/no-response@0ce2dc0e63e1c7d2b87752ceed091f6d32c9df09
2223
with:
23-
repo-token: ${{ github.token }}
24+
token: ${{ github.token }}
2425
# Comment to post when closing an Issue for lack of response. Set to `false` to disable
25-
close-issue-message: >
26+
closeComment: >
2627
Without additional information, we are unfortunately not sure how to
2728
resolve this issue. We are therefore reluctantly going to close this
2829
bug for now.
@@ -34,16 +35,6 @@ jobs:
3435
3536
Thanks for your contribution.
3637
# Number of days of inactivity before an issue is closed for lack of response.
37-
days-before-stale: -1
38-
days-before-close: 21
39-
close-issue-label: "r: timeout"
38+
daysUntilClose: 21
4039
# Label requiring a response.
41-
stale-issue-label: "waiting for customer response"
42-
stale-pr-label: "needs-info"
43-
close-pr-message: >
44-
Without additional information we're not able to resolve this PR.
45-
Feel free to add more info or respond to any questions above.
46-
Thanks for your contribution!
47-
close-pr-label: "r: timeout"
48-
operations-per-run: 200
49-
any-of-labels: "waiting for customer response,needs-info"
40+
responseRequiredLabel: "waiting for customer response"

0 commit comments

Comments
 (0)