mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-13 22:52:23 +00:00
[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
|
name: Auto Closer PR
|
||||||
on: [pull_request]
|
|
||||||
|
on:
|
||||||
|
pull_request_target:
|
||||||
|
types: [opened]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
autoclose:
|
run:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Autoclose pull request
|
- uses: superbrothers/close-pull-request@v3
|
||||||
uses: roots/issue-closer@v1.1
|
|
||||||
with:
|
with:
|
||||||
repo-token: ${{secrets.GITHUB_TOKEN}}
|
# Optional. Post a issue comment just before closing a pull request.
|
||||||
pr-pattern: "^exact-string-will-never-match$"
|
comment: "This repository content is generated by rectorphp/rector-src. Please open pull request to [rectorphp/rector-src](https://github.com/rectorphp/rector-src)."
|
||||||
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).
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user