Add action to auto-close pull requests
This commit is contained in:
parent
ac08f3c7a0
commit
b294a31769
14
.github/pull-requests.yml
vendored
Normal file
14
.github/pull-requests.yml
vendored
Normal file
@ -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."
|
Loading…
Reference in New Issue
Block a user