Unverified Commit 3f90620a authored by godofredoc's avatar godofredoc Committed by GitHub

Update no response to use core action. (#129405)

This is to use a maintained version of the no-response action.

Bug: https://github.com/flutter/flutter/issues/127450
parent 363e2f7e
...@@ -3,8 +3,6 @@ name: No Response ...@@ -3,8 +3,6 @@ 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 * * * *'
...@@ -13,17 +11,18 @@ on: ...@@ -13,17 +11,18 @@ on:
# specified are set to 'none'. # specified are set to 'none'.
permissions: permissions:
issues: write issues: write
pull-requests: write
jobs: jobs:
noResponse: no-response:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: ${{ github.repository == 'flutter/flutter' }} if: ${{ github.repository == 'flutter/flutter' }}
steps: steps:
- uses: godofredoc/no-response@0ce2dc0e63e1c7d2b87752ceed091f6d32c9df09 - uses: actions/stale@1160a2240286f5da8ec72b1c0816ce2481aabf84
with: with:
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
closeComment: > close-issue-message: >
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.
...@@ -35,6 +34,12 @@ jobs: ...@@ -35,6 +34,12 @@ 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.
daysUntilClose: 21 days-before-stale: -1
days-before-close: 21
# Label requiring a response. # Label requiring a response.
responseRequiredLabel: "waiting for customer response" stale-issue-label: "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!
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment