Skip to content

A Javascript Github Action that fetches open pull requests with a specific tag and returns the grouped source branches.

License

Notifications You must be signed in to change notification settings

Tickaroo/monorepo-merge

 
 

Repository files navigation

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/monorepo-merge@v0.0.1
with:
  target-label: 'stage-ready'
  repo-token: '${{ secrets.GITHUB_TOKEN }}'
  integration-branch: 'staging'
  main-branch: 'main'

TEST

About

A Javascript Github Action that fetches open pull requests with a specific tag and returns the grouped source branches.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%