mirror of https://github.com/rectorphp/rector.git
[GHA] Alternative for close PR auto (#84)
* [GHA] Alternative for close PR * title action
This commit is contained in:
parent
b0a75c7a1b
commit
ddd054ffff
|
@ -1,13 +1,14 @@
|
|||
name: Autocloser
|
||||
on: [pull_request]
|
||||
name: Auto Closer PR
|
||||
|
||||
on:
|
||||
pull_request_target:
|
||||
types: [opened]
|
||||
|
||||
jobs:
|
||||
autoclose:
|
||||
run:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Autoclose pull request
|
||||
uses: roots/issue-closer@v1.1
|
||||
- uses: superbrothers/close-pull-request@v3
|
||||
with:
|
||||
repo-token: ${{secrets.GITHUB_TOKEN}}
|
||||
pr-pattern: "^exact-string-will-never-match$"
|
||||
pr-close-message: |
|
||||
This repository content is generated by rectorphp/rector-src. Please open pull request to [rectorphp/rector-src](https://github.com/rectorphp/rector-src).
|
||||
# Optional. Post a issue comment just before closing a pull request.
|
||||
comment: "This repository content is generated by rectorphp/rector-src. Please open pull request to [rectorphp/rector-src](https://github.com/rectorphp/rector-src)."
|
||||
|
|
Loading…
Reference in New Issue