mirror of
https://github.com/stefanzweifel/git-auto-commit-action.git
synced 2025-08-25 17:12:08 +08:00
Add create_branch
option to force create a new branch (#203)
* Add create_branch option * Checkout new branch if create_branch input is true * Add tests * Update README
This commit is contained in:
@@ -25,7 +25,7 @@ inputs:
|
||||
required: false
|
||||
default: ''
|
||||
file_pattern:
|
||||
description: File pattern used for `git add`. For example `src/\*.js`
|
||||
description: File pattern used for `git add`. For example `src/*.js`
|
||||
required: false
|
||||
default: '.'
|
||||
repository:
|
||||
@@ -67,6 +67,9 @@ inputs:
|
||||
disable_globbing:
|
||||
description: Stop the shell from expanding filenames (https://www.gnu.org/software/bash/manual/html_node/Filename-Expansion.html)
|
||||
default: false
|
||||
create_branch:
|
||||
description: Create new branch with the name of `branch`-input in local and remote repository, if it doesn't exist yet.
|
||||
default: false
|
||||
|
||||
outputs:
|
||||
changes_detected:
|
||||
|
Reference in New Issue
Block a user