Merge Branch Versions Save

A GitHub Action that merge PR branch to other branchs

1.4.0

2 years ago

v1.4.0

  • Support Github Enterprise #15
  • Bump addressable from 2.7.0 to 2.8.0 #14

v1.3.1

3 years ago

Fix read value from GITHUB_SHA or INPUT_FROM_BRANCH, checking empty string values. https://github.com/devmasx/merge-branch/pull/9

v1.3.0

3 years ago

v1.3.0

  • Add input github_token, read github token from inputs.

v1.2.0

3 years ago

v1.2.0

  • Add input from_branch, perform a git merge for any branch combination.

v1.1.0

4 years ago

Example for use merge branch on any github event

name: Merge staging branch to uat
on:
  push:
    branches:
      - 'staging'
jobs:
  merge-branch:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@master
      - name: Merge to uat branch
        uses: devmasx/[email protected]
        with:
          type: now
          target_branch: 'uat'
        env:
          GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

v1.0.0

4 years ago

On labeled

Merge PR branch using github labels.

When you set a label in a PR this action can merge the PR branch to other branch, useful for develop branch or staging enviroments.