Skip to content

On any github event

Compare
Choose a tag to compare
@MiguelSavignano MiguelSavignano released this 27 Nov 12:05
· 21 commits to master since this release

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}}