Skip to content

Automate merging propagation to other branches when a merge is done to master/main/any_other

Notifications You must be signed in to change notification settings

alagos/regex-merge

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

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Regex Merge

Github Action for multiple branches merging

Inputs

accessToken

Required Github token. Usually secrets.GITHUB_TOKEN.

headBranch

Required Branch to merge.

branchRegex

Regex pattern for all branches to be updated.

notifyConflicts

Comments in related PR to branch, notifying about the merge conflict.

Example usage

permissions: write-all
runs-on: ubuntu-latest
steps:
  - name: Merge main to release/.+
    uses: alagos/regex-merge@v1.2
    with:
      accessToken: ${{ secrets.GITHUB_TOKEN }}
      headBranch: main
      branchRegex: '^(release|staging)\/.+'

About

Automate merging propagation to other branches when a merge is done to master/main/any_other

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published