Disable Check if Repo is in Detached State

Fixes #378
This commit is contained in:
Stefan Zweifel 2025-06-11 13:22:17 +02:00
parent a82d80a75f
commit 33b203d92a
No known key found for this signature in database
2 changed files with 2 additions and 1 deletions

View File

@ -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";

View File

@ -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