rdm#3572 update github-repo lockdown

Change-Id: I21eb89513d7823b68e593a69a4bf5d9b9b637ad3
This commit is contained in:
Christian Lohmaier 2022-05-10 10:24:33 +02:00
parent f522000d15
commit 83d68dfd36
2 changed files with 26 additions and 10 deletions

10
.github/lockdown.yml vendored
View file

@ -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

26
.github/workflows/lockdown.yml vendored Normal file
View file

@ -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