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 }}