Skip to content

automerge

automerge #26073

Workflow file for this run

name: automerge
on:
pull_request:
types:
- labeled
check_suite:
types:
- completed
status: {}
jobs:
auto-approve:
runs-on: ubuntu-latest
permissions:
pull-requests: write
if: github.event.label.name == 'automerge' && github.event.sender.login == 'broadbot'
steps:
- uses: "hmarr/auto-approve-action@v3"
with:
review-message: "This PR was automatically approved"
automerge:
runs-on: ubuntu-latest
needs: auto-approve
steps:
- name: automerge
uses: "broadinstitute/automerge-action@v0.12.0"
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
MERGE_METHOD: squash
MERGE_FORKS: false
MERGE_RETRIES: 180 # Retry for 3 hours
MERGE_RETRY_SLEEP: 60000 # 60 seconds
UPDATE_METHOD: rebase
UPDATE_RETRIES: 180 # Retry for 3 hours
UPDATE_RETRY_SLEEP: 60000 # 60 seconds
MERGE_REQUIRED_APPROVALS: 0