mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-03 00:31:50 +00:00
Merge remote-tracking branch 'origin/stable' into release-v7.0.0
This commit is contained in:
44
.github/mergify.yml
vendored
44
.github/mergify.yml
vendored
@@ -1,3 +1,37 @@
|
||||
pull_request_rules:
|
||||
- name: Ask to resolve conflict
|
||||
conditions:
|
||||
- conflict
|
||||
- -author=dependabot[bot]
|
||||
- or:
|
||||
- -draft # Don't report conflicts on regular draft.
|
||||
- and: # Do report conflicts on draft that are scheduled for the next major release.
|
||||
- draft
|
||||
- milestone~=v[0-9]\.[0-9]{2}
|
||||
actions:
|
||||
comment:
|
||||
message: This pull request has merge conflicts. Could you please resolve them
|
||||
@{{author}}? 🙏
|
||||
|
||||
- name: Approve trivial maintainer PRs
|
||||
conditions:
|
||||
- base!=stable
|
||||
- label=trivial
|
||||
- author=@sigp/lighthouse
|
||||
- -conflict
|
||||
actions:
|
||||
review:
|
||||
type: APPROVE
|
||||
|
||||
- name: Add ready-to-merge labeled PRs to merge queue
|
||||
conditions:
|
||||
# All branch protection rules are implicit: https://docs.mergify.com/conditions/#about-branch-protection
|
||||
- base!=stable
|
||||
- label=ready-for-merge
|
||||
- label!=do-not-merge
|
||||
actions:
|
||||
queue:
|
||||
|
||||
queue_rules:
|
||||
- name: default
|
||||
batch_size: 8
|
||||
@@ -6,14 +40,16 @@ queue_rules:
|
||||
merge_method: squash
|
||||
commit_message_template: |
|
||||
{{ title }} (#{{ number }})
|
||||
|
||||
{% for commit in commits %}
|
||||
* {{ commit.commit_message }}
|
||||
{% endfor %}
|
||||
|
||||
{{ body | get_section("## Issue Addressed", "") }}
|
||||
|
||||
|
||||
{{ body | get_section("## Proposed Changes", "") }}
|
||||
queue_conditions:
|
||||
- "#approved-reviews-by >= 1"
|
||||
- "check-success=license/cla"
|
||||
- "check-success=target-branch-check"
|
||||
- "label!=do-not-merge"
|
||||
merge_conditions:
|
||||
- "check-success=test-suite-success"
|
||||
- "check-success=local-testnet-success"
|
||||
|
||||
Reference in New Issue
Block a user