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.
Required The label that all Pull Requests must contain to be grouped.
Required The token secret stored in secrets.GITHUB_TOKEN
Required Main branch of the repo
Required A protected branch that serves as integration to a testing environment
Temp branch name with the grouped heads merged in.
uses: luisgj/[email protected]
with:
target-label: 'stage-ready'
repo-token: '${{ secrets.GITHUB_TOKEN }}'
integration-branch: 'staging'
main-branch: 'main'
TEST