Skip to content

Commit 3f90620

Browse files
authored
Update no response to use core action. (#129405)
This is to use a maintained version of the no-response action. Bug: flutter/flutter#127450
1 parent 363e2f7 commit 3f90620

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

.github/workflows/no-response.yaml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ 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]
86
schedule:
97
# Schedule for five minutes after the hour, every hour
108
- cron: '5 * * * *'
@@ -13,17 +11,18 @@ on:
1311
# specified are set to 'none'.
1412
permissions:
1513
issues: write
14+
pull-requests: write
1615

1716
jobs:
18-
noResponse:
17+
no-response:
1918
runs-on: ubuntu-latest
2019
if: ${{ github.repository == 'flutter/flutter' }}
2120
steps:
22-
- uses: godofredoc/no-response@0ce2dc0e63e1c7d2b87752ceed091f6d32c9df09
21+
- uses: actions/stale@1160a2240286f5da8ec72b1c0816ce2481aabf84
2322
with:
2423
token: ${{ github.token }}
2524
# Comment to post when closing an Issue for lack of response. Set to `false` to disable
26-
closeComment: >
25+
close-issue-message: >
2726
Without additional information, we are unfortunately not sure how to
2827
resolve this issue. We are therefore reluctantly going to close this
2928
bug for now.
@@ -35,6 +34,12 @@ jobs:
3534
3635
Thanks for your contribution.
3736
# Number of days of inactivity before an issue is closed for lack of response.
38-
daysUntilClose: 21
37+
days-before-stale: -1
38+
days-before-close: 21
3939
# Label requiring a response.
40-
responseRequiredLabel: "waiting for customer response"
40+
stale-issue-label: "waiting for customer response"
41+
stale-pr-label: "needs-info"
42+
close-pr-message: >
43+
Without additional information we're not able to resolve this PR.
44+
Feel free to add more info or respond to any questions above.
45+
Thanks for your contribution!

0 commit comments

Comments
 (0)