diff --git a/entrypoint.sh b/entrypoint.sh index 78cb551..b55b351 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -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"; diff --git a/tests/git-auto-commit.bats b/tests/git-auto-commit.bats index bb90822..c64bf19 100644 --- a/tests/git-auto-commit.bats +++ b/tests/git-auto-commit.bats @@ -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