From 93aa5c4b74a9983ce4b5c830532eed85dfe5864d Mon Sep 17 00:00:00 2001 From: Giorgio Boa <35845425+gioboa@users.noreply.github.com> Date: Wed, 17 Sep 2025 15:25:18 +0200 Subject: [PATCH] ci: add close stale issues GH action (#11651) --- .github/workflows/close-stale-issues.yml | 28 ++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/close-stale-issues.yml diff --git a/.github/workflows/close-stale-issues.yml b/.github/workflows/close-stale-issues.yml new file mode 100644 index 000000000..4307c140e --- /dev/null +++ b/.github/workflows/close-stale-issues.yml @@ -0,0 +1,28 @@ +name: Close Stale Issues + +on: + workflow_dispatch: + +jobs: + close-stale-issues: + runs-on: ubuntu-latest + permissions: + issues: write + + steps: + - uses: actions/stale@v10 + with: + days-before-stale: 180 # 6 months + days-before-close: 0 + days-before-pr-stale: -1 + days-before-pr-close: -1 + stale-issue-message: "" + close-issue-message: | + TypeORM has returned to active development after recently transitioning to new leadership ([see related announcement](https://typeorm.io/docs/future-of-typeorm/)). + + As part of the new team's efforts to prioritise work on the project moving forward, it is necessary to clean up the backlog of stale issues. + + 🧹 This issue is being automatically closed because it has had no activity in the last 6 months. + If you believe this issue is still relevant, feel free to comment below and the maintainers may reopen it. Thank you for your contribution. + stale-issue-label: "stale" + exempt-issue-labels: "pinned,security"