automerge #960
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: automerge | |
on: | |
pull_request: | |
types: | |
- edited | |
- labeled | |
- opened | |
- ready_for_review | |
- reopened | |
- synchronize | |
- unlabeled | |
- unlocked | |
pull_request_review: | |
types: | |
- submitted | |
status: {} | |
jobs: | |
automerge: | |
runs-on: ubuntu-latest | |
steps: | |
- name: automerge | |
uses: "pascalgn/[email protected]" | |
env: | |
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | |
MERGE_DELETE_BRANCH: "true" | |
MERGE_LABELS: "automerge,!work in progress" | |
MERGE_METHOD: "rebase" | |
# Disable autorebasing PRs because they cannot retrigger checks | |
UPDATE_LABELS: "disable" | |
UPDATE_METHOD: "rebase" | |
# Our CI takes about 15m to complete; keep retrying for 30m | |
MERGE_RETRIES: 30 | |
MERGE_RETRY_SLEEP: 60000 |