alagos / regex-merge

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:JavaScript 100.0%