From eaf0cbc8cb66c09c2c5619fcf616f793b08996fe Mon Sep 17 00:00:00 2001 From: Takahiro Ueda Date: Thu, 25 Jun 2026 17:42:28 +0200 Subject: [PATCH] ci: add stale issue workflow --- .github/workflows/stale.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/stale.yml diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index 00000000..ede3d99c --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,29 @@ +name: Close stale issues +on: + schedule: + - cron: '30 0 * * *' # daily + workflow_dispatch: + +permissions: + actions: write + issues: write + +jobs: + stale: + runs-on: ubuntu-slim + steps: + - uses: actions/stale@v10 + with: + days-before-issue-stale: 90 + days-before-issue-close: 30 + stale-issue-message: > + This issue has been marked as stale after 90 days of inactivity. + It will be closed automatically in 30 days unless there is any further activity. + If this issue is still relevant, please leave a comment to keep it open. + stale-issue-label: stale + exempt-issue-labels: bug,documentation,enhancement,help wanted,needs decision + exempt-all-issue-milestones: true + days-before-pr-stale: -1 # Do not touch PRs. + days-before-pr-close: -1 + remove-pr-stale-when-updated: false + operations-per-run: 15 # Keep stale operations low for now.