mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 22:09:06 +00:00
Enable no-response workflow. (#937)
This commit is contained in:
16
.github/no-response.yml
vendored
16
.github/no-response.yml
vendored
@@ -1,16 +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: 14
|
|
||||||
|
|
||||||
# Label requiring a response.
|
|
||||||
responseRequiredLabel: "needs-info"
|
|
||||||
|
|
||||||
# Comment to post when closing an Issue for lack of response.
|
|
||||||
closeComment: >-
|
|
||||||
Without additional information we're not able to resolve this issue,
|
|
||||||
so it will be closed at this time. You're still free to add more info
|
|
||||||
and respond to any questions above, though. We'll reopen the case
|
|
||||||
if you do.
|
|
||||||
|
|
||||||
Thanks for your contribution!
|
|
||||||
34
.github/workflows/no-response.yaml
vendored
Normal file
34
.github/workflows/no-response.yaml
vendored
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
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/samples' }}
|
||||||
|
steps:
|
||||||
|
- uses: lee-dohm/no-response@caff5e7de24d19659c31dda1ff2520a3f6a88370
|
||||||
|
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're not able to resolve this issue,
|
||||||
|
so it will be closed at this time. You're still free to add more info
|
||||||
|
and respond to any questions above, though. We'll reopen the case
|
||||||
|
if you do. 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"
|
||||||
Reference in New Issue
Block a user