From 7b7bffd2ef7620fe4a7a72cda40d6cae95e97b91 Mon Sep 17 00:00:00 2001 From: Michael Sarahan Date: Wed, 16 Oct 2024 19:48:59 -0500 Subject: [PATCH] confusion with service name --- set-otel-service-name-from-github/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/set-otel-service-name-from-github/action.yml b/set-otel-service-name-from-github/action.yml index 329a541..8d92faf 100644 --- a/set-otel-service-name-from-github/action.yml +++ b/set-otel-service-name-from-github/action.yml @@ -26,6 +26,6 @@ runs: cat job_info.json; JOB_NAME="$(cat job_info.json | jq -r '.name')" echo JOB_NAME="${JOB_NAME}" >> ${GITHUB_OUTPUT}; - if [ "$GITHUB_SERVICE_NAME" = "" ]; then + if [ "$OTEL_SERVICE_NAME" = "" ]; then echo OTEL_SERVICE_NAME="${JOB_NAME}" >> ${GITHUB_ENV}; fi \ No newline at end of file