Merge branch 'ondrej/disable-github-pr' into 'main'

Add GitHub Action that immediately closes issue / PRs

See merge request isc-projects/bind9!4788
This commit is contained in:
Ondřej Surý 2021-03-08 11:13:24 +00:00
commit 494057b8f4

15
.github/workflows/lockdown.yml vendored Normal file
View file

@ -0,0 +1,15 @@
- name: 'Lock down mirror repository'
on:
issues:
types: opened
pull_request:
types: opened
jobs:
lockdown:
runs-on: ubuntu-latest
steps:
- uses: dessant/repo-lockdown@v2
with:
github-token: ${{ github.token }}