From df1f1ea62f4f5c39d4800a59814baace6363e8e1 Mon Sep 17 00:00:00 2001 From: Christian Lohmaier Date: Tue, 10 May 2022 10:44:35 +0200 Subject: rdm#3572 update github-repo lockdown Change-Id: I9aaebdb3a10bf485775b25aa581393951900f17b --- .github/lockdown.yml | 7 ------- .github/workflows/lockdown.yml | 26 ++++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 7 deletions(-) delete mode 100644 .github/lockdown.yml create mode 100644 .github/workflows/lockdown.yml (limited to '.github') diff --git a/.github/lockdown.yml b/.github/lockdown.yml deleted file mode 100644 index 86361e997f4..00000000000 --- a/.github/lockdown.yml +++ /dev/null @@ -1,7 +0,0 @@ -# Configuration for Repo Lockdown - https://github.com/dessant/repo-lockdown-app -# LibreOffice project uses gerrit as its patch management & review system -_extends: core - -pulls: - comment: > - Thank you for your contribution. We use GitHub as a read-only mirror. Translations are maintained in weblate, see https://wiki.documentfoundation.org/Translating_LibreOffice for details on how to contribute. diff --git a/.github/workflows/lockdown.yml b/.github/workflows/lockdown.yml new file mode 100644 index 00000000000..55ff357f349 --- /dev/null +++ b/.github/workflows/lockdown.yml @@ -0,0 +1,26 @@ +# Configuration for Repo Lockdown - https://github.com/dessant/repo-lockdown +# LibreOffice project uses gerrit as its patch management & review system +name: Repo Lockdown + +on: + issues: + types: opened + pull_request_target: + types: opened + +jobs: + point-to-upstream: + runs-on: ubuntu-latest + steps: + - uses: dessant/repo-lockdown@v2.2.0 + with: + issue-comment: > + Thank you for your report. We use GitHub as a read-only mirror, so please submit your report into our own bug tracker: https://wiki.documentfoundation.org/QA/BugReport + skip-closed-issue-comment: true + close-issue: true + lock-issue: false + pr-comment: > + Thank you for your contribution. We use GitHub as a read-only mirror. Translations are maintained in weblate, see https://wiki.documentfoundation.org/Translating_LibreOffice for details on how to contribute. + skip-closed-pr-comment: true + close-pr: true + lock-pr: false -- cgit