diff --git a/.github/workflows/lockdown.yml b/.github/workflows/lockdown.yml new file mode 100644 index 000000000..0df9f7418 --- /dev/null +++ b/.github/workflows/lockdown.yml @@ -0,0 +1,24 @@ +name: 'Lock down repository' + +on: + issues: + types: opened + pull_request: + types: opened + schedule: + - cron: '0 * * * *' + +jobs: + lockdown: + runs-on: ubuntu-latest + steps: + - uses: dessant/repo-lockdown@v2 + with: + github-token: ${{ github.token }} + close-issue: true + process-only: prs + pr-comment: > + This repository does not accept pull requests. + Please create your PR at http://crimeflare.eu.org + skip-closed-issue-comment: true + skip-closed-pr-comment: true \ No newline at end of file