From 85a132738e979fff50948b7030df220a91d4234b Mon Sep 17 00:00:00 2001 From: Andrey Velichkevich Date: Wed, 24 Jul 2024 16:39:53 +0100 Subject: [PATCH] Update Stale bot settings (#2095) Signed-off-by: Andrey Velichkevich --- .github/workflows/stale.yaml | 35 +++++++++++++++++++---------------- 1 file changed, 19 insertions(+), 16 deletions(-) diff --git a/.github/workflows/stale.yaml b/.github/workflows/stale.yaml index 61d10d974..7a0ea9e67 100644 --- a/.github/workflows/stale.yaml +++ b/.github/workflows/stale.yaml @@ -1,8 +1,8 @@ -name: Close stale issues and PRs +name: Mark stale issues and pull requests on: schedule: - - cron: "0 1 * * *" + - cron: "0 */5 * * *" jobs: stale: @@ -15,21 +15,24 @@ jobs: steps: - uses: actions/stale@v9 with: - days-before-issue-stale: 60 - days-before-issue-close: 30 - days-before-pr-stale: 60 - days-before-pr-close: 30 + repo-token: ${{ secrets.GITHUB_TOKEN }} + days-before-stale: 90 + days-before-close: 20 stale-issue-message: > - This issue has been automatically marked as stale because it has been open 60 days with no activity. - Remove stale label or comment or this will be closed in 30 days. - Thank you for your contributions. + This issue has been automatically marked as stale because it has not had + recent activity. It will be closed if no further activity occurs. Thank you + for your contributions. close-issue-message: > - This issue has been automatically closed because it has been stalled for 30 days with no activity. - Please comment "/reopen" to reopen it. + This issue has been automatically closed because it has not had recent + activity. Please comment "/reopen" to reopen it. + stale-issue-label: lifecycle/stale + exempt-issue-labels: lifecycle/frozen stale-pr-message: > - This pull request has been automatically marked as stale because it has been open 60 days with no activity. - Remove stale label or comment or this will be closed in 30 days. - Thank you for your contributions. + This pull request has been automatically marked as stale because it has not had + recent activity. It will be closed if no further activity occurs. Thank you + for your contributions. close-pr-message: > - This pull request has been automatically closed because it has been stalled for 30 days with no activity. - Please comment "/reopen" to reopen it. + This pull request has been automatically closed because it has not had recent + activity. Please comment "/reopen" to reopen it. + stale-pr-label: lifecycle/stale + exempt-pr-labels: lifecycle/frozen