Update wording in log messages

This commit is contained in:
Stefan Zweifel 2022-12-22 19:11:43 +01:00
parent 1aebb93978
commit 404009ab28
2 changed files with 4 additions and 4 deletions

View File

@ -91,14 +91,14 @@ _switch_to_branch() {
# Fetch remote to make sure that repo can be switched to the right branch. # Fetch remote to make sure that repo can be switched to the right branch.
if "$INPUT_SKIP_FETCH"; then if "$INPUT_SKIP_FETCH"; then
_log "debug" "git-fetch has not been executed."; _log "debug" "git-fetch will not be executed.";
else else
git fetch --depth=1; git fetch --depth=1;
fi fi
# If `skip_checkout`-input is true, skip the entire checkout step. # If `skip_checkout`-input is true, skip the entire checkout step.
if "$INPUT_SKIP_CHECKOUT"; then if "$INPUT_SKIP_CHECKOUT"; then
_log "debug" "git-checkout has not been executed."; _log "debug" "git-checkout will not be executed.";
else else
# Create new local branch if `create_branch`-input is true # Create new local branch if `create_branch`-input is true
if "$INPUT_CREATE_BRANCH"; then if "$INPUT_CREATE_BRANCH"; then

View File

@ -417,7 +417,7 @@ cat_github_output() {
assert_success 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" { @test "If SKIP_CHECKOUT is true git-checkout will not be called" {
@ -430,7 +430,7 @@ cat_github_output() {
assert_success 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" { @test "It pushes generated commit and tag to remote and actually updates the commit shas" {