From f7a3b73e370c49fba27c875f17d6834f00a963f0 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Thu, 20 Feb 2025 15:50:15 +0100 Subject: [PATCH] Add autocloser.yml --- .github/workflows/autocloser.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .github/workflows/autocloser.yml diff --git a/.github/workflows/autocloser.yml b/.github/workflows/autocloser.yml new file mode 100644 index 00000000..6fdb0300 --- /dev/null +++ b/.github/workflows/autocloser.yml @@ -0,0 +1,12 @@ +name: Autocloser +on: [issues] +jobs: + autoclose: + runs-on: ubuntu-latest + steps: + - name: Autoclose issues that did not follow issue template + uses: roots/issue-closer@v1.2 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + issue-close-message: "This issue was automatically closed because it did not follow the issue template. We use the issue tracker exclusively for bug reports and feature additions that have been previously discussed. However, this issue appears to be a support request. Please use the discussion forums for support requests." + issue-pattern: ".*(do we replicate the issue|Expected behavior|raised as discussion|# Impact).*"