Automate merging of a source branch into a target branch.
on: push: branches: - "release/*"jobs: merge-branch: runs-on: ubuntu-lateststeps: - uses: actions/checkout@v2 - uses: everlytic/[email protected]with: github_token: ${{github.token }}source_ref: ${{github.ref }}target_branch: 'master'commit_message_template: '[Automated] Merged{source_ref} into target{target_branch}'Required - The GitHub Personal Access Token used to perform the merge action. This can be the Token provided by GitHub Workflows, or a custom token set at a workflow secret.
A custom token may be useful if performing actions that require Administrative privileges, such as overriding branch protection rules.
Required - The source ref or branch name that you wish to merge into the target_branch.
Required - The target branch you are merging into.
Optional - Customize the commit message that gets added to the merge commit. This allows for templates enclosed in curly braces {}.
The only templates allowed at this time are {source_ref} and {target_branch}.