From b4f193f9d524ed441e9552d8fc0b0b41ea63291c Mon Sep 17 00:00:00 2001 From: Antony Rizzitelli Date: Sun, 25 Oct 2026 18:35:19 +0000 Subject: [PATCH] ci: run stale through the shared workflow daily --- .github/workflows/stale.yml | 25 ++++++++----------------- 1 file changed, 8 insertions(+), 17 deletions(-) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 1baddef..3e47739 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -1,25 +1,16 @@ -name: "Close stale issues" +name: Stale issues on: schedule: - - cron: "30 * * * *" + - cron: "30 1 * * *" workflow_dispatch: -permissions: - contents: write # only for delete-branch option - issues: write - pull-requests: write +permissions: {} jobs: stale: - runs-on: ubuntu-latest - steps: - - uses: actions/stale@v9 - with: - exempt-issue-labels: pending - 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 30 days." - close-issue-message: "This issue was closed because it has been stalled for 30 days with no activity." - days-before-stale: 60 - days-before-close: 30 - operations-per-run: 200 - days-before-pr-stale: -1 + permissions: + actions: write + issues: write + pull-requests: write + uses: AntelopeJS/.github/.github/workflows/stale.yml@v1