mirror of
https://github.com/stefanzweifel/git-auto-commit-action.git
synced 2024-12-06 02:09:04 +00:00
Changed the extended example to correctly use quotes for strings (#196)
Co-authored-by: Stefan Zweifel <stefanzweifel@users.noreply.github.com>
This commit is contained in:
parent
4d00f10668
commit
03246c1cee
@ -29,13 +29,14 @@ The following is an extended example with all available options.
|
|||||||
with:
|
with:
|
||||||
# Optional. Commit message for the created commit.
|
# Optional. Commit message for the created commit.
|
||||||
# Defaults to "Apply automatic changes"
|
# Defaults to "Apply automatic changes"
|
||||||
commit_message: Automated Change
|
commit_message: 'Automated Change'
|
||||||
|
|
||||||
# Optional. Local and remote branch name where commit is going to be pushed
|
# Optional. Local and remote branch name where commit is going to be pushed
|
||||||
# to. Defaults to the current branch.
|
# to. Defaults to the current branch.
|
||||||
# You might need to set `create_branch: true` if the branch does not exist.
|
# You might need to set `create_branch: true` if the branch does not exist.
|
||||||
branch: feature-123
|
branch: feature-123
|
||||||
|
|
||||||
|
|
||||||
# Optional. Options used by `git-commit`.
|
# Optional. Options used by `git-commit`.
|
||||||
# See https://git-scm.com/docs/git-commit#_options
|
# See https://git-scm.com/docs/git-commit#_options
|
||||||
commit_options: '--no-verify --signoff'
|
commit_options: '--no-verify --signoff'
|
||||||
@ -45,7 +46,7 @@ The following is an extended example with all available options.
|
|||||||
# See the `pathspec`-documentation for git
|
# See the `pathspec`-documentation for git
|
||||||
# - https://git-scm.com/docs/git-add#Documentation/git-add.txt-ltpathspecgt82308203
|
# - https://git-scm.com/docs/git-add#Documentation/git-add.txt-ltpathspecgt82308203
|
||||||
# - https://git-scm.com/docs/gitglossary#Documentation/gitglossary.txt-aiddefpathspecapathspec
|
# - https://git-scm.com/docs/gitglossary#Documentation/gitglossary.txt-aiddefpathspecapathspec
|
||||||
file_pattern: src/*.js tests/*.js *.php
|
file_pattern: '*.php src/*.js tests/*.js'
|
||||||
|
|
||||||
# Optional. Local file path to the repository.
|
# Optional. Local file path to the repository.
|
||||||
# Defaults to the root of the repository.
|
# Defaults to the root of the repository.
|
||||||
|
Loading…
Reference in New Issue
Block a user