forbid_prs.yml 274 B

12345678910111213141516
  1. name: Close All Pull Requests
  2. on:
  3. schedule:
  4. - cron: '*/5 * * * *'
  5. jobs:
  6. run:
  7. runs-on: ubuntu-latest
  8. steps:
  9. - uses: crondaemon/close-pr@v1
  10. with:
  11. comment: "We do not accept PRs."
  12. env:
  13. GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}