Skip to content

Monorepo merge

Actions
Finds, groups and merges PRs with specific label into a selected branch
v0.0.1
Latest
Star (1)

Monorepo merge Github Action

A Javascript Github Action with the intention of being used in monorepos to integrate many PRs into a single branch.

The action fetches open pull requests with a specific label and returns the grouped source branches.

Inputs

target-label

Required The label that all Pull Requests must contain to be grouped.

repo-token

Required The token secret stored in secrets.GITHUB_TOKEN

main-branch

Required Main branch of the repo

integration-branch

Required A protected branch that serves as integration to a testing environment

Outputs

temp-branch

Temp branch name with the grouped heads merged in.

Example usage

uses: luisgj/[email protected]
with:
  target-label: 'stage-ready'
  repo-token: '${{ secrets.GITHUB_TOKEN }}'
  integration-branch: 'staging'
  main-branch: 'main'

Monorepo merge is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Finds, groups and merges PRs with specific label into a selected branch
v0.0.1
Latest

Monorepo merge is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.