mirror of
https://github.com/stefanzweifel/git-auto-commit-action.git
synced 2024-12-06 02:09:04 +00:00
Only check status of files matching file_pattern
This commit is contained in:
parent
5222c758dd
commit
01ffd8c6f6
@ -33,7 +33,7 @@ _switch_to_repository() {
|
||||
}
|
||||
|
||||
_git_is_dirty() {
|
||||
[ -n "$(git status -s)" ]
|
||||
[ -n "$(git status -s -- $INPUT_FILE_PATTERN)" ]
|
||||
}
|
||||
|
||||
_switch_to_branch() {
|
||||
|
Loading…
Reference in New Issue
Block a user