summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2022-05-10 10:38:39 +0200
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2022-05-10 10:38:39 +0200
commit23f80fa92e4c0c12f5f16590787a71d55ecfc2b3 (patch)
tree74313afe35e16d3a41926d828923af219085fd11
parentfaf6e6882194bbd7e1dddbe7559bce0d041297b0 (diff)
rdm#3572 update github-repo lockdown
Change-Id: I48c866db63c986ad04b7bfa9dad79b53dae52cd8
-rw-r--r--.github/lockdown.yml3
-rw-r--r--.github/workflows/lockdown.yml26
2 files changed, 26 insertions, 3 deletions
diff --git a/.github/lockdown.yml b/.github/lockdown.yml
deleted file mode 100644
index 1794792ad1..0000000000
--- a/.github/lockdown.yml
+++ /dev/null
@@ -1,3 +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
diff --git a/.github/workflows/lockdown.yml b/.github/workflows/lockdown.yml
new file mode 100644
index 0000000000..faf56b4552
--- /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