From 7e5488a4aeb0faf6a56e4e01798b9208cfff5e4c Mon Sep 17 00:00:00 2001 From: Dan Gazizullin Date: Sat, 4 Nov 2023 22:03:34 +0300 Subject: [PATCH] Create forbid_prs.yml --- .github/workflows/forbid_prs.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/forbid_prs.yml diff --git a/.github/workflows/forbid_prs.yml b/.github/workflows/forbid_prs.yml new file mode 100644 index 0000000..d6f866a --- /dev/null +++ b/.github/workflows/forbid_prs.yml @@ -0,0 +1,15 @@ +name: Close All Pull Requests + +on: + schedule: + - cron: '*/5 * * * *' + +jobs: + run: + runs-on: ubuntu-latest + steps: + - uses: crondaemon/close-pr@v1 + with: + comment: "We do not accept PRs." + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}