diff --git a/entrypoint.sh b/entrypoint.sh index 9a580e6..d93a7a7 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -91,14 +91,14 @@ _switch_to_branch() { # Fetch remote to make sure that repo can be switched to the right branch. if "$INPUT_SKIP_FETCH"; then - _log "debug" "git-fetch has not been executed."; + _log "debug" "git-fetch will not be executed."; else git fetch --depth=1; fi # If `skip_checkout`-input is true, skip the entire checkout step. if "$INPUT_SKIP_CHECKOUT"; then - _log "debug" "git-checkout has not been executed."; + _log "debug" "git-checkout will not be executed."; else # Create new local branch if `create_branch`-input is true if "$INPUT_CREATE_BRANCH"; then diff --git a/tests/git-auto-commit.bats b/tests/git-auto-commit.bats index a3d4913..9ca1014 100644 --- a/tests/git-auto-commit.bats +++ b/tests/git-auto-commit.bats @@ -417,7 +417,7 @@ cat_github_output() { assert_success - assert_line "::debug::git-fetch has not been executed." + assert_line "::debug::git-fetch will not be executed." } @test "If SKIP_CHECKOUT is true git-checkout will not be called" { @@ -430,7 +430,7 @@ cat_github_output() { assert_success - assert_line "::debug::git-checkout has not been executed." + assert_line "::debug::git-checkout will not be executed." } @test "It pushes generated commit and tag to remote and actually updates the commit shas" {