diff --git a/hooks/command b/hooks/command index 6dbb460..50e5a4d 100755 --- a/hooks/command +++ b/hooks/command @@ -82,7 +82,7 @@ if [[ -n "$source_ref" && ! "$source_ref" =~ ^[0-9a-f]{40}$ ]]; then source_ref="$resolved_commit" fi -echo "~~~ :github: Prepare workflows" +echo "--- :github: Prepare workflows" setup_mise "$host_platform" export MISE_YES=1 diff --git a/tests/command.bats b/tests/command.bats index b14b9ed..8dd85a5 100755 --- a/tests/command.bats +++ b/tests/command.bats @@ -184,7 +184,7 @@ teardown() { rm -rf "$TMP"; } run "$REPO/hooks/command" [ "$status" -eq 0 ] || { echo "$output"; false; } [ "$(grep -c '^resolve=' "$MOCK_LOG")" -eq 0 ] - [[ "$output" == *"~~~ :github: Prepare workflows"* ]] + [[ "$output" == *"--- :github: Prepare workflows"* ]] grep -Fx 'mise=--no-config exec github:buildkite/buildkite-gha@latest -- buildkite-gha plugin' "$MOCK_LOG" grep -Fx 'minimum-release-age=0s' "$MOCK_LOG" grep -Fx 'github-cli-tokens=false' "$MOCK_LOG"