From caea370f2c26c2651ec2e132b2bc0ae35c399121 Mon Sep 17 00:00:00 2001 From: yanyiwu Date: Sat, 14 Sep 2024 21:47:59 +0800 Subject: [PATCH] [github/actions] stale 1 year ago issues weekly --- .github/workflows/stale-issues.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/stale-issues.yml b/.github/workflows/stale-issues.yml index 96c61d4..65f86ba 100644 --- a/.github/workflows/stale-issues.yml +++ b/.github/workflows/stale-issues.yml @@ -2,7 +2,7 @@ name: Close Stale Issues on: schedule: - - cron: '0 13 * * 2' # Run daily + - cron: '0 13 * * 2' # Run every Tuesday at 13:00 UTC jobs: stale: @@ -15,9 +15,9 @@ jobs: - uses: actions/stale@v5 with: repo-token: ${{ secrets.GITHUB_TOKEN }} - stale-issue-message: 'This issue has not been updated for over 3 years and will be marked as stale. If the issue still exists, please comment or update the issue, otherwise it will be closed after 7 days.' + stale-issue-message: 'This issue has not been updated for over 1 year and will be marked as stale. If the issue still exists, please comment or update the issue, otherwise it will be closed after 7 days.' close-issue-message: 'This issue has been automatically closed due to inactivity. If the issue still exists, please reopen it.' - days-before-issue-stale: 1095 + days-before-issue-stale: 365 days-before-issue-close: 7 stale-issue-label: 'Stale' exempt-issue-labels: 'pinned,security'