From ee061d5f937ddf74c978dbb491d30d5f6196074c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9D=8E=E9=93=AD=E6=98=95?= <715557344@qq.com>
Date: Mon, 30 May 2022 10:52:13 +0800
Subject: [PATCH] Create close-pull-request.yml (#4792)
---
.../.github/workflows/close-pull-request.yml | 13 +++++++++++++
1 file changed, 13 insertions(+)
create mode 100644 src/coordinator/.github/workflows/close-pull-request.yml
diff --git a/src/coordinator/.github/workflows/close-pull-request.yml b/src/coordinator/.github/workflows/close-pull-request.yml
new file mode 100644
index 000000000..591822c0f
--- /dev/null
+++ b/src/coordinator/.github/workflows/close-pull-request.yml
@@ -0,0 +1,13 @@
+name: Close Pull Request
+
+on:
+ pull_request_target:
+ types: [opened]
+
+jobs:
+ run:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: superbrothers/close-pull-request@v3
+ with:
+ comment: "Hi, this is a READ-ONLY repository, please submit your PR on the https://github.com/hyperf/hyperf repository.
This Pull Request will close automatically.
Thanks! "