Skip to content

richard-scott/automerger-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

action-automerger

GitHub action to automatically merge the source branch into a target branch.

Inputs

source

Required Source branch for the merge

target

Required Target branch for the merge

message

Optional The commit message to use when merging.

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: richard-scott/[email protected]
        with:
          github_token: ${{ github.token }}
          source: 'master'
          target: 'release'
          message: "${{ github.event.commits[0].message }}"

About

action-automerge

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%