mirror of
https://github.com/stefanzweifel/git-auto-commit-action.git
synced 2025-07-21 15:46:08 +08:00
Update entrypoint.sh
This commit is contained in:
@@ -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"
|
||||
|
||||
|
Reference in New Issue
Block a user