Skip to content

Commit

Permalink
Added close-pull-request.yml to close pr for read-only repositori…
Browse files Browse the repository at this point in the history
…es. (#4781)
  • Loading branch information
limingxinleo committed May 24, 2022
1 parent fdd464f commit bcffa8f
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/close-pull-request.yml
Original file line number Diff line number Diff line change
@@ -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.<br><br> This Pull Request will close automatically.<br><br> Thanks! "

0 comments on commit bcffa8f

Please sign in to comment.