summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/close_prs.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/.github/workflows/close_prs.yml b/.github/workflows/close_prs.yml
new file mode 100644
index 00000000000..f8abc37f029
--- /dev/null
+++ b/.github/workflows/close_prs.yml
@@ -0,0 +1,21 @@
+---
+name: Close Pull Request
+
+on:
+ pull_request_target:
+ types: [opened]
+
+jobs:
+ run:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: superbrothers/close-pull-request@v3
+ with:
+ # Optional. Post a issue comment just before closing a pull request.
+ comment: "Thank you so much for your interest! VPP takes patches at https://gerrit.fd.io/
+
+```
+git clone https://gerrit.fd.io/r/vpp
+```
+
+Using [git review](https://www.mediawiki.org/wiki/Gerrit/git-review) to contribute patches is recommended"