diff options
| author | Jack Koenig | 2020-12-16 11:22:07 -0800 |
|---|---|---|
| committer | GitHub | 2020-12-16 11:22:07 -0800 |
| commit | 25a417f86e47f7660318753065fea898535fbbd9 (patch) | |
| tree | 863ed0b342b340ca1ebebcf2eb9c673124df8c9f /.mergify.yml | |
| parent | 315ff8c6f443e7d5379948bca25619fe3ffb2440 (diff) | |
Switch to using Github Actions CI (#1690)
MiMa binary compatibility checks are now run on master, but the
mimaPreviousArtifacts are empty which makes the check a no-op. This
helps keep both the build.sbt and CI more consistent between master and
stable branches.
.mergify.yml is also updated with mergify.sc from chisel-repo-tools
using the following configuration:
conditions:
- status-success=all tests passed
branches:
- 3.2.x
- 3.3.x
- 3.4.x
Diffstat (limited to '.mergify.yml')
| -rw-r--r-- | .mergify.yml | 238 |
1 files changed, 105 insertions, 133 deletions
diff --git a/.mergify.yml b/.mergify.yml index f23812a4..494b5396 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -1,135 +1,107 @@ pull_request_rules: - - name: remove outdated reviews - conditions: - - base=master - actions: - dismiss_reviews: +- name: automatic squash-and-merge on CI success and review + conditions: + - status-success=all tests passed + - '#approved-reviews-by>=1' + - '#changes-requested-reviews-by=0' + - base=master + - label="Please Merge" + - label!="DO NOT MERGE" + - label!="bp-conflict" + actions: + merge: + method: squash + strict: smart + strict_method: merge +- name: backport to 3.4.x + conditions: + - merged + - base=master + - milestone=3.4.x + actions: + backport: + branches: + - 3.4.x + ignore_conflicts: true + label_conflicts: bp-conflict + label: + add: + - Backported +- name: backport to 3.3.x, 3.4.x + conditions: + - merged + - base=master + - milestone=3.3.x + actions: + backport: + branches: + - 3.3.x + - 3.4.x + ignore_conflicts: true + label_conflicts: bp-conflict + label: + add: + - Backported +- name: backport to 3.2.x, 3.3.x, 3.4.x + conditions: + - merged + - base=master + - milestone=3.2.x + actions: + backport: + branches: + - 3.2.x + - 3.3.x + - 3.4.x + ignore_conflicts: true + label_conflicts: bp-conflict + label: + add: + - Backported +- name: label Mergify backport PR + conditions: + - body~=This is an automated backport of pull request \#\d+ done by Mergify + actions: + label: + add: + - Backport +- name: automatic squash-and-mege of 3.2.x backport PRs + conditions: + - status-success=all tests passed + - '#changes-requested-reviews-by=0' + - base=3.2.x + - label="Backport" + - label!="DO NOT MERGE" + - label!="bp-conflict" + actions: + merge: + method: squash + strict: smart + strict_method: merge +- name: automatic squash-and-mege of 3.3.x backport PRs + conditions: + - status-success=all tests passed + - '#changes-requested-reviews-by=0' + - base=3.3.x + - label="Backport" + - label!="DO NOT MERGE" + - label!="bp-conflict" + actions: + merge: + method: squash + strict: smart + strict_method: merge +- name: automatic squash-and-mege of 3.4.x backport PRs + conditions: + - status-success=all tests passed + - '#changes-requested-reviews-by=0' + - base=3.4.x + - label="Backport" + - label!="DO NOT MERGE" + - label!="bp-conflict" + actions: + merge: + method: squash + strict: smart + strict_method: merge -pull_request_rules: - - name: automatic squash-and-merge on CI success and review - conditions: - - "status-success=ci/circleci: build-firrtl" - - "status-success=ci/circleci: build-prep" - - "status-success=ci/circleci: test-chisel-2_11" - - "status-success=ci/circleci: test-chisel-2_12" - - status-success=license/cla - - "#approved-reviews-by>=1" - - "#changes-requested-reviews-by=0" - - base=master - - label="Please Merge" - - label!="DO NOT MERGE" - - label!="bp-conflict" - actions: - merge: - method: squash - strict: smart - strict_method: merge - - - name: backport to 3.4.x - conditions: - - merged - - base=master - - milestone=3.4.x - actions: - backport: - branches: - - 3.4.x - ignore_conflicts: True - label_conflicts: "bp-conflict" - label: - add: [Backported] - - - name: backport to 3.3.x and 3.4.x - conditions: - - merged - - base=master - - milestone=3.3.x - actions: - backport: - branches: - - 3.3.x - - 3.4.x - ignore_conflicts: True - label_conflicts: "bp-conflict" - label: - add: [Backported] - - - name: backport to 3.2.x, 3.3.x, and 3.4.x - conditions: - - merged - - base=master - - milestone=3.2.x - actions: - backport: - branches: - - 3.2.x - - 3.3.x - - 3.4.x - ignore_conflicts: True - label_conflicts: "bp-conflict" - label: - add: [Backported] - - - name: label Mergify backport PR - conditions: - - body~=This is an automated backport of pull request \#\d+ done by Mergify - actions: - label: - add: [Backport] - - - name: automatic squash-and-merge of 3.4.x backport PRs - conditions: - - "status-success=ci/circleci: build-firrtl" - - "status-success=ci/circleci: build-prep" - - "status-success=ci/circleci: test-chisel-2_11" - - "status-success=ci/circleci: test-chisel-2_12" - - "status-success=ci/circleci: check-binary-compatibility" - - status-success=license/cla - - "#changes-requested-reviews-by=0" - - base=3.4.x - - label="Backport" - - label!="DO NOT MERGE" - - label!="bp-conflict" - actions: - merge: - method: squash - strict: smart - strict_method: merge - - - name: automatic squash-and-merge of 3.3.x backport PRs - conditions: - - "status-success=ci/circleci: build-firrtl" - - "status-success=ci/circleci: build-prep" - - "status-success=ci/circleci: test-chisel-2_11" - - "status-success=ci/circleci: test-chisel-2_12" - - "status-success=ci/circleci: check-binary-compatibility" - - status-success=license/cla - - "#changes-requested-reviews-by=0" - - base=3.3.x - - label="Backport" - - label!="DO NOT MERGE" - - label!="bp-conflict" - actions: - merge: - method: squash - strict: smart - strict_method: merge - - - name: automatic squash-and-merge of 3.2.x backport PRs - conditions: - - "status-success=ci/circleci: build-firrtl" - - "status-success=ci/circleci: build-prep" - - "status-success=ci/circleci: test-chisel-2_11" - - "status-success=ci/circleci: test-chisel-2_12" - - "status-success=ci/circleci: check-binary-compatibility" - - status-success=license/cla - - "#changes-requested-reviews-by=0" - - base=3.2.x - - label="Backport" - - label!="DO NOT MERGE" - - label!="bp-conflict" - actions: - merge: - method: squash - strict: smart - strict_method: merge |
