updated no-response.yml

This commit is contained in:
Lorenzo Pichilli 2022-04-28 17:58:47 +02:00
parent 04b001f499
commit a14bdce16c
2 changed files with 40 additions and 9 deletions

View File

@ -1,9 +0,0 @@
# Configuration for probot-no-response - https://github.com/probot/no-response
# Number of days of inactivity before an Issue is closed for lack of response
daysUntilClose: 5
# Label requiring a response
responseRequiredLabel: answered
# Comment to post when closing an Issue for lack of response. Set to `false` to disable
closeComment: >
This issue has been automatically closed because it was marked as "answered", and there wasn't any recent activity on this issue.

40
.github/workflows/no-response.yml vendored Normal file
View File

@ -0,0 +1,40 @@
name: No Response
# Both `issue_comment` and `scheduled` event types are required for this Action
# to work properly.
on:
issue_comment:
types: [created]
schedule:
# Schedule for five minutes after the hour, every hour
- cron: '5 * * * *'
# By specifying the access of one of the scopes, all of those that are not
# specified are set to 'none'.
permissions:
issues: write
jobs:
noResponse:
runs-on: ubuntu-latest
if: ${{ github.repository == 'flutter/flutter' }}
steps:
- uses: godofredoc/no-response@0ce2dc0e63e1c7d2b87752ceed091f6d32c9df09
with:
token: ${{ github.token }}
# Comment to post when closing an Issue for lack of response. Set to `false` to disable
closeComment: >
Without additional information, we are unfortunately not sure how to
resolve this issue. We are therefore reluctantly going to close this
bug for now.
If you find this problem please file a new issue with the same description,
what happens, logs and the output of 'flutter doctor -v'. All system setups
can be slightly different so it's always better to open new issues and reference
the related ones.
Thanks for your contribution.
# Number of days of inactivity before an issue is closed for lack of response.
daysUntilClose: 21
# Label requiring a response.
responseRequiredLabel: "waiting for customer response"