aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/lockdown.yml7
-rw-r--r--.github/workflows/lockdown.yml26
2 files changed, 26 insertions, 7 deletions
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