From 7d72f9259a60c5c7a661485e1e3a93ed2a7a4dc8 Mon Sep 17 00:00:00 2001 From: Ziyang Hu Date: Fri, 14 Oct 2022 19:09:29 +0800 Subject: [PATCH] Create nopull.yml --- .github/workflows/nopull.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/nopull.yml diff --git a/.github/workflows/nopull.yml b/.github/workflows/nopull.yml new file mode 100644 index 00000000..9f692566 --- /dev/null +++ b/.github/workflows/nopull.yml @@ -0,0 +1,14 @@ +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: "We do not accept PRs. If you have any questions, please feel free to contact us."