Merge pull request #379 from stefanzweifel/disable-detached-state-check

This commit is contained in:
Stefan Zweifel 2025-06-11 13:26:39 +02:00 committed by GitHub
commit 778341af66
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View File

@ -45,7 +45,7 @@ _main() {
_check_if_is_git_repository _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 if "$INPUT_CREATE_GIT_TAG_ONLY"; then
_log "debug" "Create git tag only"; _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" { @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 touch "${FAKE_LOCAL_REPOSITORY}"/new-file-{1,2,3}.txt
run git_auto_commit run git_auto_commit