From 9717ab4ce3a301a724a64d4bc654ed89df618dcc Mon Sep 17 00:00:00 2001 From: Anderson Banihirwe Date: Thu, 8 Jul 2021 13:34:58 -0600 Subject: [PATCH 1/2] Update stale workflow --- .github/workflows/stale.yaml | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/.github/workflows/stale.yaml b/.github/workflows/stale.yaml index 1ff499b0..d01149c4 100644 --- a/.github/workflows/stale.yaml +++ b/.github/workflows/stale.yaml @@ -7,12 +7,23 @@ jobs: stale: runs-on: ubuntu-latest steps: - - uses: actions/stale@v3 + - uses: actions/stale@main with: repo-token: ${{ secrets.GITHUB_TOKEN }} + days-before-stale: 60 + days-before-close: 30 + days-before-pr-stale: -1 # Don't mark PRs as stale exempt-issue-labels: 'keepOpen,In Progress' exempt-pr-labels: 'keepOpen,In Progress' - stale-issue-message: "This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!" - close-issue-message: "This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details." - stale-pr-message: "This pull request has been marked 'stale' due to lack of recent activity. If there is no further activity, the pull request will be closed in another 30 days. Thank you for your contribution!" - close-pr-message: "This pull request has been closed due to inactivity. If you feel this is in error, please reopen the pull request." + stale-issue-message: | + This issue has been marked 'stale' due to lack of recent activity. + If there is no further activity, the issue will be closed in another 30 days. + + Thank you for your contribution! + close-issue-message: | + It's been 60 days since any activity on this issue. so our helper bot (github-actions-bot) is going to close it. + Please keep in mind that I’m only a robot 🤖. So if you feel I’ve closed this issue in error 😞, + please reopen the issue or file a new issue with the relevant details. + + Thanks again for your contribution! + \ No newline at end of file From d4c709bbfb504cb5dfb894b9b5bb3d8a84126958 Mon Sep 17 00:00:00 2001 From: Anderson Banihirwe Date: Thu, 8 Jul 2021 13:37:45 -0600 Subject: [PATCH 2/2] Formatting only --- .github/workflows/stale.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/stale.yaml b/.github/workflows/stale.yaml index d01149c4..e9f8f051 100644 --- a/.github/workflows/stale.yaml +++ b/.github/workflows/stale.yaml @@ -16,9 +16,9 @@ jobs: exempt-issue-labels: 'keepOpen,In Progress' exempt-pr-labels: 'keepOpen,In Progress' stale-issue-message: | - This issue has been marked 'stale' due to lack of recent activity. - If there is no further activity, the issue will be closed in another 30 days. - + This issue has been marked 'stale' due to lack of recent activity. + If there is no further activity, the issue will be closed in another 30 days. + Thank you for your contribution! close-issue-message: | It's been 60 days since any activity on this issue. so our helper bot (github-actions-bot) is going to close it. @@ -26,4 +26,3 @@ jobs: please reopen the issue or file a new issue with the relevant details. Thanks again for your contribution! - \ No newline at end of file