Skip to content

Action-Automerge

Actions
Merge source branch into target branch
v1
LatestPre-release
Star (19)

action-automerge

GitHub action to automatically merge the source branch into a target branch every time a change is made. A webhook can be configured to send both a successful or failure notification to Slack.

Inputs

source

Required Source branch for the merge

target

Required Target branch for the merge

webhook_url

Optional The Slack webhook URL to post to.

Example usage

name: Update cms/master

on:
  push:
    branches:
      - master

jobs:
  update-cms-master:
    name: Merge master into release after a PR is merged
    runs-on: ubuntu-latest
    steps:
      - name: checkout
        uses: actions/checkout@v2
      - name: merge
        uses: mtanzi/action-automerge@v1
        id: merge
        with:
          github_token: ${{ github.token }}
          source: 'master'
          target: 'release'
          webhook_url: #if present add the Slack webhook

Build

npm run-script build

Action-Automerge is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Merge source branch into target branch
v1
LatestPre-release

Action-Automerge is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.