From adac5d7d59216cd401de3227cf4bc5b0b372afc2 Mon Sep 17 00:00:00 2001 From: 1O <2408212-1O@users.noreply.gitlab.com> Date: Sun, 22 Nov 2020 11:42:11 +0100 Subject: [PATCH] Added auto-lock to github mirror --- .github/workflows/lockdown.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/lockdown.yml diff --git a/.github/workflows/lockdown.yml b/.github/workflows/lockdown.yml new file mode 100644 index 0000000..f11d812 --- /dev/null +++ b/.github/workflows/lockdown.yml @@ -0,0 +1,34 @@ +name: 'Lock down 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 }} + issue-labels: 'off-topic' + issue-comment: > + Thanks for your contribution! + + However, this repository does not accept bug reports, + since this is only a mirror of + https://gitlab.com/1O/bitwarden_rs-backup. + + Please feel free to open the issue there. + skip-closed-issue-comment: true + pr-comment: > + Thanks for your contribution! + + However, this repository does not accept pull requests, + since this is only a mirror of + https://gitlab.com/1O/bitwarden_rs-backup. + + Please feel free to open the pull request there. + skip-closed-pr-comment: true \ No newline at end of file