summaryrefslogtreecommitdiffstats
path: root/.github/workflows/lockdown.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/lockdown.yml')
-rw-r--r--.github/workflows/lockdown.yml28
1 files changed, 28 insertions, 0 deletions
diff --git a/.github/workflows/lockdown.yml b/.github/workflows/lockdown.yml
new file mode 100644
index 00000000..bdd11ab7
--- /dev/null
+++ b/.github/workflows/lockdown.yml
@@ -0,0 +1,28 @@
+# Configure the Repo Lockdown GitHub App to automatically close pull requests.
+# See https://github.com/dessant/repo-lockdown
+
+name: 'Repo Lockdown'
+
+on:
+ issues:
+ types: opened
+ pull_request_target:
+ types: opened
+
+permissions:
+ pull-requests: write
+
+jobs:
+ action:
+ runs-on: ubuntu-latest
+ steps:
+ - name: 'Repo Lockdown'
+ uses: dessant/repo-lockdown@v3
+ with:
+ pr-comment: >
+ Hi, thank you for your contribution!
+
+ GitHub is however not the right place for these. The development repository is
+ hosted on GitLab: <https://gitlab.com/wireshark/wireshark>. Please have a look at
+ <https://www.wireshark.org/docs/wsdg_html_chunked/ChSrcContribute.html>
+ for further instructions.