mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-09 09:22:06 -04:00
Add GitHub Action that immediately closes issue / PRs
Unfortunately, it's not possible to disable Pull Requests on the mirrored repository on the GitHub, so this commit adds external action that closes any new open Issue or Pull Requests instead letting them rot unnoticed.
This commit is contained in:
parent
42e8db9e74
commit
2463f62c93
1 changed files with 15 additions and 0 deletions
15
.github/workflows/lockdown.yml
vendored
Normal file
15
.github/workflows/lockdown.yml
vendored
Normal 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 }}
|
||||
Loading…
Reference in a new issue