Skip to content

Commit

Permalink
Update Mergify config to check GitHub Actions
Browse files Browse the repository at this point in the history
This updates the Mergify config so that it checks
the GitHub Actions. We also remove the backport
labels for the branches that we recently renamed
as EOL.
  • Loading branch information
tobias-urdin committed Jul 4, 2021
1 parent 54d24a0 commit 7214224
Showing 1 changed file with 54 additions and 36 deletions.
90 changes: 54 additions & 36 deletions .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,30 @@ pull_request_rules:
conditions:
- label!=work-in-progress
- '#approved-reviews-by>=1'
- status-success=Travis CI - Pull Request
- status-success=doc (docs)
- status-success=doc (docs-gnocchi-web)

- status-success=check (pep8)

- status-success=test (py36-postgresql-file-upgrade-from-4.3)
- status-success=test (py36-mysql-file)
- status-success=test (py36-mysql-swift)
- status-success=test (py36-mysql-s3)
- status-success=test (py36-postgresql-file)
- status-success=test (py36-postgresql-swift)
- status-success=test (py36-postgresql-s3)

- status-success=test (py38-mysql-ceph-upgrade-from-4.3)
- status-success=test (py38-postgresql-file-upgrade-from-4.3)
- status-success=test (py38-mysql-file)
- status-success=test (py38-mysql-swift)
- status-success=test (py38-mysql-s3)
- status-success=test (py38-mysql-ceph)
- status-success=test (py38-postgresql-file)
- status-success=test (py38-postgresql-swift)
- status-success=test (py38-postgresql-s3)
- status-success=test (py38-postgresql-ceph)

- name: automatic merge backports from Mergify
actions:
merge:
Expand All @@ -19,7 +42,30 @@ pull_request_rules:
- base~=^stable/.*
- label!=work-in-progress
- author=mergify[bot]
- status-success=Travis CI - Pull Request
- status-success=doc (docs)
- status-success=doc (docs-gnocchi-web)

- status-success=check (pep8)

- status-success=test (py36-postgresql-file-upgrade-from-4.3)
- status-success=test (py36-mysql-file)
- status-success=test (py36-mysql-swift)
- status-success=test (py36-mysql-s3)
- status-success=test (py36-postgresql-file)
- status-success=test (py36-postgresql-swift)
- status-success=test (py36-postgresql-s3)

- status-success=test (py38-mysql-ceph-upgrade-from-4.3)
- status-success=test (py38-postgresql-file-upgrade-from-4.3)
- status-success=test (py38-mysql-file)
- status-success=test (py38-mysql-swift)
- status-success=test (py38-mysql-s3)
- status-success=test (py38-mysql-ceph)
- status-success=test (py38-postgresql-file)
- status-success=test (py38-postgresql-swift)
- status-success=test (py38-postgresql-s3)
- status-success=test (py38-postgresql-ceph)

- name: dismiss reviews on additional commit
actions:
dismiss_reviews: {}
Expand All @@ -29,42 +75,14 @@ pull_request_rules:
- actions:
backport:
branches:
- stable/3.0
conditions:
- label=backport-to-3.0
name: backport stable/3.0
- actions:
backport:
branches:
- stable/3.1
conditions:
- label=backport-to-3.1
name: backport stable/3.1
- actions:
backport:
branches:
- stable/4.0
conditions:
- label=backport-to-4.0
name: backport stable/4.0
- actions:
backport:
branches:
- stable/4.1
conditions:
- label=backport-to-4.1
name: backport stable/4.1
- actions:
backport:
branches:
- stable/4.2
- stable/4.3
conditions:
- label=backport-to-4.2
name: backport stable/4.2
- label=backport-to-4.3
name: backport stable/4.3
- actions:
backport:
branches:
- stable/4.3
- stable/4.4
conditions:
- label=backport-to-4.3
name: backport stable/4.3
- label=backport-to-4.4
name: backport stable/4.4

0 comments on commit 7214224

Please sign in to comment.