Releases: devmasx/merge-branch
Releases · devmasx/merge-branch
Support Github Enterprise
Fix, check inputs with empty string values.
Fix read value from GITHUB_SHA or INPUT_FROM_BRANCH, checking empty string values.
#9
Add input github_token, read github token from inputs
v1.3.0
- Add input github_token, read github token from inputs.
Add optional input from_branch
v1.2.0
- Add input from_branch, perform a git merge for any branch combination.
On any github event
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}}
A GitHub Action that merge PR branch to other branchs
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.