From 273cb35338b1d1433458a39582abda8edc11c8b0 Mon Sep 17 00:00:00 2001 From: Rahul Sharma Date: Tue, 3 Mar 2026 12:26:42 -0800 Subject: [PATCH] add workflow to label issues as stale 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..25a4b22 --- /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 "feature, enhancement or lifecycle/frozen" labels.' + 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: 300