From 6d775085a96367b4512e7a361dc60fe7be0b97eb Mon Sep 17 00:00:00 2001 From: j2gg0s Date: Thu, 7 Nov 2024 14:49:59 +0800 Subject: [PATCH] ci: release action stale --- .github/workflows/stale.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 512774dfb..8d67085b7 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -1,7 +1,8 @@ +name: Prune stale issues/prs on: workflow_dispatch: - # schedule: - # - cron: '0 */4 * * *' + schedule: + - cron: '0 */3 * * *' permissions: contents: read @@ -21,8 +22,6 @@ jobs: uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0 with: repo-token: ${{ secrets.GITHUB_TOKEN }} - # Different amounts of days for issues/PRs are not currently supported but there is a PR - # open for it: https://github.com/actions/stale/issues/214 days-before-stale: 30 stale-issue-message: > This issue has been automatically marked as stale because it has not had activity in the @@ -38,6 +37,5 @@ jobs: exempt-issue-labels: 'no stalebot,help wanted' stale-pr-label: 'stale' exempt-pr-labels: 'no stalebot' - operations-per-run: 500 + operations-per-run: 128 ascending: true - debug-only: true