From e2f418cffb1397ad05d66887a834f5bfb0f2bc43 Mon Sep 17 00:00:00 2001 From: Rahul Sharma Date: Tue, 3 Mar 2026 08:27:42 -0800 Subject: [PATCH] add workflow for stale issues Signed-off-by: Rahul Sharma --- .github/workflows/stale.yaml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/stale.yaml diff --git a/.github/workflows/stale.yaml b/.github/workflows/stale.yaml new file mode 100644 index 0000000..219bdd5 --- /dev/null +++ b/.github/workflows/stale.yaml @@ -0,0 +1,25 @@ +name: Stale issues + +on: + workflow_dispatch: + schedule: + - cron: "21 4 * * *" + +jobs: + stale: + permissions: + actions: write + issues: write + runs-on: ubuntu-latest + + steps: + - uses: actions/stale@v10 + with: + stale-issue-message: 'This issue is stale because it has been open 90 days with no activity. This issue will be closed in 30 days unless new comments are made or the stale label is removed. To skip these checks, apply the "lifecycle/frozen" label.' + stale-issue-label: 'lifecycle/stale' + exempt-issue-labels: 'lifecycle/frozen,feature,enhancement' + days-before-stale: 90 + close-issue-message: 'This issue was automatically closed due to inactivity.' + days-before-issue-close: 30 + remove-stale-when-updated: true + operations-per-run: 1000