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: conditions:
- "#approved-reviews-by>=1" - "#approved-reviews-by>=1"
- label=automerge - label=automerge
- status-success=Lint
- status-success=Travis CI - Pull Request - status-success=Travis CI - Pull Request
- status-success=Wheels Successful
actions: actions:
merge: merge:
method: merge method: merge

View File

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

View File

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