aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2022-05-10 10:44:35 +0200
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2022-05-10 10:45:06 +0200
commitdf1f1ea62f4f5c39d4800a59814baace6363e8e1 (patch)
tree49be8ad7d1cc8d68c8e0d24d2c68520c3c7b1fe4
parentd317ea9b3412438e83f716001d7fda3a62516855 (diff)
rdm#3572 update github-repo lockdown
Change-Id: I9aaebdb3a10bf485775b25aa581393951900f17b
-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