Skip to content

Commit

Permalink
confusion with service name
Browse files Browse the repository at this point in the history
  • Loading branch information
msarahan committed Oct 17, 2024
1 parent 6d38882 commit 7b7bffd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion set-otel-service-name-from-github/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 7b7bffd

Please sign in to comment.