mirror of
https://github.com/stefanzweifel/git-auto-commit-action.git
synced 2025-04-20 08:49:42 +08:00
Update entrypoint.sh
This commit is contained in:
parent
c86fa26bed
commit
4db797a961
@ -30,8 +30,12 @@ _main() {
|
||||
_check_if_git_is_available
|
||||
|
||||
_switch_to_repository
|
||||
|
||||
if _git_is_dirty || "$INPUT_SKIP_DIRTY_CHECK"; then
|
||||
if _git_tag_only; then
|
||||
_log "debug" "git tag only.";
|
||||
_set_github_output "git_tag_only" "true"
|
||||
_tag_commit
|
||||
_push_to_github
|
||||
elif _git_is_dirty || "$INPUT_SKIP_DIRTY_CHECK"; then
|
||||
|
||||
_set_github_output "changes_detected" "true"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user