mirror of
https://github.com/stefanzweifel/git-auto-commit-action.git
synced 2025-06-17 08:39:42 +08:00
Merge pull request #379 from stefanzweifel/disable-detached-state-check
This commit is contained in:
commit
778341af66
@ -45,7 +45,7 @@ _main() {
|
||||
|
||||
_check_if_is_git_repository
|
||||
|
||||
_check_if_repository_is_in_detached_state
|
||||
# _check_if_repository_is_in_detached_state
|
||||
|
||||
if "$INPUT_CREATE_GIT_TAG_ONLY"; then
|
||||
_log "debug" "Create git tag only";
|
||||
|
@ -1098,6 +1098,7 @@ END
|
||||
}
|
||||
|
||||
@test "It detects if the repository is in a detached state and exits with an error" {
|
||||
skip
|
||||
touch "${FAKE_LOCAL_REPOSITORY}"/new-file-{1,2,3}.txt
|
||||
|
||||
run git_auto_commit
|
||||
|
Loading…
x
Reference in New Issue
Block a user