diff --git a/entrypoint.sh b/entrypoint.sh index 1fa602d..78cb551 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -28,15 +28,15 @@ _log() { _main() { if "$INPUT_SKIP_FETCH"; then - _log "warning" "skip_fetch has been removed in v6. It does not have any effect anymore."; + _log "warning" "git-auto-commit: skip_fetch has been removed in v6. It does not have any effect anymore."; fi if "$INPUT_SKIP_CHECKOUT"; then - _log "warning" "skip_checkout has been removed in v6. It does not have any effect anymore."; + _log "warning" "git-auto-commit: skip_checkout has been removed in v6. It does not have any effect anymore."; fi if "$INPUT_CREATE_BRANCH"; then - _log "warning" "create_branch has been removed in v6. It does not have any effect anymore."; + _log "warning" "git-auto-commit: create_branch has been removed in v6. It does not have any effect anymore."; fi _check_if_git_is_available diff --git a/tests/git-auto-commit.bats b/tests/git-auto-commit.bats index 432c4fe..bb90822 100644 --- a/tests/git-auto-commit.bats +++ b/tests/git-auto-commit.bats @@ -1176,7 +1176,7 @@ END assert_success - assert_line "::warning::skip_fetch has been removed in v6. It does not have any effect anymore." - assert_line "::warning::skip_checkout has been removed in v6. It does not have any effect anymore." - assert_line "::warning::create_branch has been removed in v6. It does not have any effect anymore." + assert_line "::warning::git-auto-commit: skip_fetch has been removed in v6. It does not have any effect anymore." + assert_line "::warning::git-auto-commit: skip_checkout has been removed in v6. It does not have any effect anymore." + assert_line "::warning::git-auto-commit: create_branch has been removed in v6. It does not have any effect anymore." }