0
0
mirror of https://git.sdf.org/deCloudflare/deCloudflare/ synced 2024-06-25 23:29:20 +00:00

Add '.github/workflows/lockdown.yml'

This commit is contained in:
jonathan 2021-04-10 03:17:24 +00:00
parent 87a1cd5689
commit e54e38def1

24
.github/workflows/lockdown.yml vendored Normal file
View File

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