From 1ecda890fadee84ec6106ea55ff9686aed66316f Mon Sep 17 00:00:00 2001 From: Rahul Sharma Date: Tue, 3 Mar 2026 11:35:45 -0800 Subject: [PATCH] add workflow to mark issues as stale with no activity 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 00000000..25a4b22b --- /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