From 51db78e4048cd0eb0273972acd63885758e615f0 Mon Sep 17 00:00:00 2001 From: Taner Sener Date: Sat, 11 Jun 2022 09:44:24 +0100 Subject: [PATCH] update stale bot settings --- .github/workflows/stale.yml | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 0ca8c1a..171bb10 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -2,23 +2,25 @@ name: mark stale issues and pull requests on: schedule: - - cron: "0 0 * * *" + - cron: "30 1 * * *" jobs: stale: runs-on: ubuntu-latest + permissions: + issues: write + pull-requests: write steps: - - uses: actions/stale@v4 + - uses: actions/stale@v5 with: repo-token: ${{ secrets.GITHUB_TOKEN }} - stale-issue-message: '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.' - stale-pr-message: '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.' + days-before-stale: 60 + stale-issue-message: 'This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.' + stale-pr-message: 'This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.' + close-issue-message: 'This issue was closed because it has been stalled for 7 days with no activity.' + close-pr-message: 'This PR was closed because it has been stalled for 7 days with no activity.' stale-issue-label: 'no-issue-activity' stale-pr-label: 'no-pr-activity' - exempt-issue-labels: 'enhancement' - exempt-pr-labels: 'enhancement' + exempt-issue-labels: 'enhancement,unreleased' + exempt-pr-labels: 'enhancement,unreleased' exempt-all-assignees: 'true' - -permissions: - issues: write - pull-requests: write \ No newline at end of file