The home for Hyperlane core contracts, sdk packages, and other infrastructure
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
hyperlane-monorepo/.github/workflows/mergify.yml.bak

65 lines
1.4 KiB

name: automerge
on:
pull_request:
types:
- labeled
- unlabeled
- synchronize
- opened
- edited
- ready_for_review
- reopened
- unlocked
pull_request_review:
types:
- submitted
repository_dispatch:
types: [rust-tests-successful, solidity-tests-successful]
status: {}
jobs:
automerge:
runs-on: ubuntu-latest
steps:
- name: automerge
if: ${{ secrets.ACTIONS_PAT }}
uses: pascalgn/automerge-action@v0.13.1
env:
GITHUB_TOKEN: "${{ secrets.ACTIONS_PAT }}"
MERGE_LABELS: "automerge"
MERGE_REMOVE_LABELS: "automerge"
MERGE_METHOD: "squash"
# in rust.yml
complete:
runs-on: ubuntu-latest
needs: [build, test, lint]
steps:
- name: Rust tests successful
if: success()
uses: peter-evans/repository-dispatch@v1
with:
token: ${{ secrets.ACTIONS_PAT }}
repository: ${{ github.repository }}
event-type: rust-tests-successful
# in solidity.yml
complete:
runs-on: ubuntu-latest
needs: [install, lint, test]
steps:
- name: Solidity tests successful
if: success()
uses: peter-evans/repository-dispatch@v1
with:
token: ${{ secrets.ACTIONS_PAT }}
repository: ${{ github.repository }}
event-type: solidity-tests-successful