Skip to content

Commit 33b203d

Browse files
committed
Disable Check if Repo is in Detached State
Fixes #378
1 parent a82d80a commit 33b203d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ _main() {
4545

4646
_check_if_is_git_repository
4747

48-
_check_if_repository_is_in_detached_state
48+
# _check_if_repository_is_in_detached_state
4949

5050
if "$INPUT_CREATE_GIT_TAG_ONLY"; then
5151
_log "debug" "Create git tag only";

tests/git-auto-commit.bats

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1098,6 +1098,7 @@ END
10981098
}
10991099

11001100
@test "It detects if the repository is in a detached state and exits with an error" {
1101+
skip
11011102
touch "${FAKE_LOCAL_REPOSITORY}"/new-file-{1,2,3}.txt
11021103

11031104
run git_auto_commit

0 commit comments

Comments
 (0)