GitHub Action
Create Other Repo Branch Action
v1.5
Latest version
Github Action to create a new branch on another repository ππ
git
commands.
steps:
- uses: GuillaumeFalourd/create-other-repo-branch-action@v1.5
with:
repository_owner: GuillaumeFalourd
repository_name: poc-github-actions
new_branch_name: release-1.2.3
access_token: ${{ secrets.ACCESS_TOKEN}}
steps:
- uses: GuillaumeFalourd/create-other-repo-branch-action@v1.5
with:
repository_owner: GuillaumeFalourd
repository_name: poc-github-actions
new_branch_name: release-1.2.3
new_branch_ref: release-candidate
access_token: ${{ secrets.ACCESS_TOKEN}}
Field | Mandatory | Observation |
---|---|---|
repository_owner | YES | Repository Owner e.g: octocat |
repository_name | YES | Repository Name e.g: my-repo-name |
new_branch_name | YES | New branch name created on other repository e.g: release-*.*.* |
new_branch_ref | NO | Reference to create the new branch name on other repository e.g: release-candidate (the default branch is used if not informed) |
access_token | NO | A PAT that has access to the repository (if necessary). Note: this should not be combined with ssh_deploy_key . |
ignore_branch_exists | NO | This (boolean) field will gracefully skip branch creation if the requested branch already exists e.g: true |
ssh_deploy_key | NO | A Deploy Key that has been configured to allow access from the source to destination repository. (if necessary) Note: this should not be combined with access_token . |
git_user_name | NO | Specify the user.name to set in the git config |
git_user_email | NO | Specify the user.email to set in the git config |
β Guidelines
(Made with contributors-img)
β This repository uses the Apache License 2.0