From: Ondřej Surý Date: Mon, 8 Mar 2021 11:09:14 +0000 (+0100) Subject: Add GitHub Action that immediately closes issue / PRs X-Git-Tag: v9.17.11~7^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2463f62c9356b44a997bfcc7457157542329af94;p=thirdparty%2Fbind9.git 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. --- diff --git a/.github/workflows/lockdown.yml b/.github/workflows/lockdown.yml new file mode 100644 index 00000000000..7dc424ed9e7 --- /dev/null +++ b/.github/workflows/lockdown.yml @@ -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 }}