fix!: don't switch branch unless explicitly told so

This commit is contained in:
Federico Grandi
2021-12-09 18:35:35 +01:00
parent 249b415d1b
commit d4d39927bf
4 changed files with 86 additions and 115 deletions

View File

@@ -13,12 +13,12 @@ inputs:
description: The email of the user that will be displayed as the author of the commit
required: false
branch:
description: Name of the branch to use, if different from the one that triggered the workflow
description: Name of the branch to switch to.
required: false
branch_mode:
description: How the action should behave when the targeted branch is missing
description: How the action should behave when the targeted branch is missing ("throw" or "create")
required: false
default: throw
default: create
commit:
description: Additional arguments for the git commit command
required: false
@@ -44,7 +44,7 @@ inputs:
required: false
default: ignore
pull:
description: Arguments for the git pull command. Use NO-PULL to avoid the action pulling at all.
description: Arguments for the git pull command. By default, the action does not pull.
required: false
push:
description: Whether to push the commit and, if any, its tags to the repo. It can also be used to set the git push arguments (more info in the README)