Skip to content

automerge

automerge #9386

Workflow file for this run

name: automerge
on:
workflow_dispatch:
inputs:
prNumber:
description: 'PR Number to auto merge'
type: number
required: true
jobs:
automerge:
runs-on: ubuntu-20.04
permissions:
# Need to read check suites.
checks: read
# Need to merge the pull request
# Specifically "PUT /repos/{owner}/{repo}/pulls/{pull_number}/merge"
contents: write
steps:
- name: automerge
uses: "pascalgn/[email protected]"
# https://github.com/pascalgn/automerge-action#configuration
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
MERGE_LABELS: "!do not merge yet,!interop"
MERGE_FORKS: false
MERGE_METHOD: "rebase"
MERGE_RETRIES: "3"
MERGE_RETRY_SLEEP: "90000"
PULL_REQUEST: ${{ inputs.prNumber }}