From 8570709d4a833e845c1a3c24cc23821680cfa445 Mon Sep 17 00:00:00 2001 From: StressOzz <131419324+StressOzz@users.noreply.github.com> Date: Sun, 31 May 2026 18:06:43 +0500 Subject: [PATCH] Add stale issue management workflow This workflow automatically closes inactive issues after 14 days of inactivity. --- .github/workflows/stale.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 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 0000000..c184ac7 --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,30 @@ +name: Close inactive issues + +on: + schedule: + - cron: '0 0 * * *' # ежедневно + workflow_dispatch: + +jobs: + stale: + runs-on: ubuntu-latest + + permissions: + issues: write + pull-requests: write + + steps: + - uses: actions/stale@v10 + with: + days-before-issue-stale: 14 + days-before-issue-close: 0 + + stale-issue-message: > + Этот Issue был автоматически закрыт из-за отсутствия активности в течение 14 дней. + + close-issue-message: > + Закрыто автоматически. + + stale-pr-message: '' + close-pr-message: '' + days-before-pr-stale: -1