aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/auto_closer.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/.github/workflows/auto_closer.yml b/.github/workflows/auto_closer.yml
new file mode 100644
index 0000000..2d963e1
--- /dev/null
+++ b/.github/workflows/auto_closer.yml
@@ -0,0 +1,18 @@
+name: Autocloser
+
+on: [issues, pull_request]
+
+jobs:
+ autoclose:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Autoclose issues/pr
+ uses: roots/issue-closer-action@v1.2
+ with:
+ repo-token: ${{ secrets.GITHUB_TOKEN }}
+ # issue
+ issue-close-message: "@${issue.user.login} We do not accept issues. If you have any questions, please feel free to contact us."
+ issue-pattern: "*"
+ # pr
+ pr-close-message: "@${issue.user.login} We do not accept PRs. If you have any questions, please feel free to contact us."
+ pr-pattern: "*"