Merge production branch into development branch o push to production.
Required Name of production branch. Default "main"
.
Required Name of development branch. Default "sandbox"
.
Required Username of the owner (user or org) of the repo. Default "swipoo"
.
Required Name of the repository.
Required Username of the GitHub account. Must be authorized to push to the repository.
Required Email of the GitHub account. Must be authorized to push to the repository.
Required Personal access token of the GitHub account. Collected through the GitHub Secrets.
Required Actor of the GitHub account. Collected through GitHub ENV variables.
- name: Swipoo Merge Main into Dev Action
uses: swipoo/action-merge-main-dev@v1
with:
prod_branch: 'main-branch'
dev_branch: 'dev-branch'
owner_username: 'swipoo'
repo_name: 'my-super-repo'
gh_username: 'octocat'
gh_email: '[email protected]'
gh_token: ${{secrets.GITHUB_TOKEN}}
gh_actor: $GITHUB_ACTOR