Merge pull request #241 from hugovk/update-mergify

Add GHA CI to Mergify
This commit is contained in:
Andrew Murray 2022-01-05 08:34:13 +11:00 committed by GitHub
commit a684a25c74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 0 deletions

2
.github/mergify.yml vendored
View File

@ -3,7 +3,9 @@ pull_request_rules:
conditions:
- "#approved-reviews-by>=1"
- label=automerge
- status-success=Lint
- status-success=Travis CI - Pull Request
- status-success=Wheels Successful
actions:
merge:
method: merge

View File

@ -6,6 +6,8 @@ jobs:
lint:
runs-on: ubuntu-latest
name: Lint
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2

View File

@ -135,3 +135,11 @@ jobs:
env:
GHR_PATH: .
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
success:
needs: [build, build-latest]
runs-on: ubuntu-latest
name: Wheels Successful
steps:
- name: Success
run: echo Wheels Successful