mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-18 22:08:00 +01:00
add mergeable
This commit is contained in:
parent
33b7956c42
commit
9569780ab0
2
.github/ISSUE_TEMPLATE/1_Bug_report.md
vendored
2
.github/ISSUE_TEMPLATE/1_Bug_report.md
vendored
@ -3,6 +3,8 @@ name: Bug Report
|
||||
about: Report errors and problems
|
||||
---
|
||||
|
||||
# Bug Report
|
||||
|
||||
<!-- First, thank you for reporting a bug. That takes time and we appreciate that! -->
|
||||
|
||||
| Subject | Details |
|
||||
|
2
.github/ISSUE_TEMPLATE/2_Feature_request.md
vendored
2
.github/ISSUE_TEMPLATE/2_Feature_request.md
vendored
@ -3,6 +3,8 @@ name: Feature Request
|
||||
about: RFC and ideas for new features and improvements
|
||||
---
|
||||
|
||||
# Feature Request
|
||||
|
||||
<!-- First, thank you for making a request. That takes time and we appreciate that! -->
|
||||
|
||||
## Diff
|
||||
|
2
.github/ISSUE_TEMPLATE/3_Support_question.md
vendored
2
.github/ISSUE_TEMPLATE/3_Support_question.md
vendored
@ -3,4 +3,4 @@ name: Support Question
|
||||
about: Questions about using this library
|
||||
---
|
||||
|
||||
## Question
|
||||
# Question
|
||||
|
20
.github/mergeable.yaml
vendored
Normal file
20
.github/mergeable.yaml
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
version: 2
|
||||
mergeable:
|
||||
- when: issues.opened
|
||||
validate:
|
||||
- do: description
|
||||
or:
|
||||
- and:
|
||||
- must_include:
|
||||
regex: '^# Bug Report'
|
||||
- must_include:
|
||||
regex: 'https:\/\/getrector\.org\/demo\/'
|
||||
- must_exclude:
|
||||
regex: '^# Bug Report'
|
||||
fail:
|
||||
- do: comment
|
||||
payload:
|
||||
body: >
|
||||
This bug report is missing a link to reproduction on [getrector.org/demo](https://getrector.org/demo).
|
||||
|
||||
It will most likely be closed after manual review.
|
Loading…
x
Reference in New Issue
Block a user