From 62f4b44881f9186a2e6d0fc2a548a36cc5922397 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Sat, 21 Sep 2024 20:41:28 -0700 Subject: [PATCH] ci: switch no-response workflow to "official" stale workflow --- .github/workflows/no-response.yml | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/.github/workflows/no-response.yml b/.github/workflows/no-response.yml index a1074b9b1..7cc446556 100644 --- a/.github/workflows/no-response.yml +++ b/.github/workflows/no-response.yml @@ -1,5 +1,10 @@ name: No Response +permissions: + contents: read + issues: write + pull-requests: write + # Both `issue_comment` and `scheduled` event types are required for this Action # to work properly. on: @@ -13,8 +18,16 @@ jobs: noResponse: runs-on: ubuntu-latest steps: - - uses: lee-dohm/no-response@v0.5.0 + - uses: actions/stale@v9.0.0 with: - token: ${{ github.token }} - responseRequiredLabel: waiting-on-op - + only-labels: waiting-on-op + days-before-stale: -1 + days-before-close: -1 + days-before-issue-stale: 14 + days-before-issue-close: 0 + close-issue-message: > + This issue has been automatically closed because there has been no response + to our request for more information from the original author. With only the + information that is currently in the issue, we don't have enough information + to take action. Please reach out if you have or find the answers we need so + that we can investigate further.