.github/lockdown.yml           |   10 ----------
 .github/workflows/lockdown.yml |   26 ++++++++++++++++++++++++++
 2 files changed, 26 insertions(+), 10 deletions(-)

New commits:
commit 83d68dfd36881fc720380493e7095a5518cda8bc
Author:     Christian Lohmaier <lohmaier+libreoff...@googlemail.com>
AuthorDate: Tue May 10 10:24:33 2022 +0200
Commit:     Christian Lohmaier <lohmaier+libreoff...@googlemail.com>
CommitDate: Tue May 10 10:24:33 2022 +0200

    rdm#3572 update github-repo lockdown
    
    Change-Id: I21eb89513d7823b68e593a69a4bf5d9b9b637ad3

diff --git a/.github/lockdown.yml b/.github/lockdown.yml
deleted file mode 100644
index 843f691398a0..000000000000
--- a/.github/lockdown.yml
+++ /dev/null
@@ -1,10 +0,0 @@
-# Configuration for Repo Lockdown - 
https://github.com/dessant/repo-lockdown-app
-# LibreOffice project uses gerrit as its patch management & review system
-lock: false
-
-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
-
-pulls:
-    comment: >
-        Thank you for your contribution. We use GitHub as a read-only mirror, 
so please submit your patch into our own code review system: 
https://wiki.documentfoundation.org/Development/GetInvolved
diff --git a/.github/workflows/lockdown.yml b/.github/workflows/lockdown.yml
new file mode 100644
index 000000000000..faf56b45525c
--- /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, so please submit your patch into our own code review system: 
https://wiki.documentfoundation.org/Development/GetInvolved
+          skip-closed-pr-comment: true
+          close-pr: true
+          lock-pr: false

Reply via email to