Revert no-response to fork. (#129775)

The core action is not scaling well for the # of Prs and bugs of the flutter project.

Bug: https://github.com/flutter/flutter/issues/129771
This commit is contained in:
godofredoc 2023-06-29 21:20:09 -07:00 committed by GitHub
parent 91cb2618c3
commit 732429e35b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,6 +3,8 @@ name: No Response
# Both `issue_comment` and `scheduled` event types are required for this Action # Both `issue_comment` and `scheduled` event types are required for this Action
# to work properly. # to work properly.
on: on:
issue_comment:
types: [created]
schedule: schedule:
# Schedule for five minutes after the hour, every hour # Schedule for five minutes after the hour, every hour
- cron: '5 * * * *' - cron: '5 * * * *'
@ -11,18 +13,17 @@ on:
# specified are set to 'none'. # specified are set to 'none'.
permissions: permissions:
issues: write issues: write
pull-requests: write
jobs: jobs:
no-response: noResponse:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: ${{ github.repository == 'flutter/flutter' }} if: ${{ github.repository == 'flutter/flutter' }}
steps: steps:
- uses: actions/stale@1160a2240286f5da8ec72b1c0816ce2481aabf84 - uses: godofredoc/no-response@0ce2dc0e63e1c7d2b87752ceed091f6d32c9df09
with: with:
repo-token: ${{ github.token }} token: ${{ github.token }}
# Comment to post when closing an Issue for lack of response. Set to `false` to disable # Comment to post when closing an Issue for lack of response. Set to `false` to disable
close-issue-message: > closeComment: >
Without additional information, we are unfortunately not sure how to Without additional information, we are unfortunately not sure how to
resolve this issue. We are therefore reluctantly going to close this resolve this issue. We are therefore reluctantly going to close this
bug for now. bug for now.
@ -34,16 +35,6 @@ jobs:
Thanks for your contribution. Thanks for your contribution.
# Number of days of inactivity before an issue is closed for lack of response. # Number of days of inactivity before an issue is closed for lack of response.
days-before-stale: -1 daysUntilClose: 21
days-before-close: 21
close-issue-label: "r: timeout"
# Label requiring a response. # Label requiring a response.
stale-issue-label: "waiting for customer response" responseRequiredLabel: "waiting for customer response"
stale-pr-label: "needs-info"
close-pr-message: >
Without additional information we're not able to resolve this PR.
Feel free to add more info or respond to any questions above.
Thanks for your contribution!
close-pr-label: "r: timeout"
operations-per-run: 200
any-of-labels: "waiting for customer response,needs-info"