mirror of
https://github.com/actions/github-script.git
synced 2026-10-03 14:36:05 +03:00
Change orchestration ID format to actions_orchestration_id
Co-authored-by: TingluoHuang <1750815+TingluoHuang@users.noreply.github.com>
This commit is contained in:
1 parent
c0078b2072
commit
b67a972797
2 files changed
+2
-2
No files matched your search
Vendored
+1
-1
@@ -36327,7 +36327,7 @@ function getUserAgentWithOrchestrationId(userAgent) {
|
||||
}
|
||||
// Sanitize orchestration ID - replace invalid characters with underscore
|
||||
const sanitized = orchestrationId.replace(/[^a-zA-Z0-9._-]/g, '_');
|
||||
return `${userAgent} orchestration-id/${sanitized}`;
|
||||
return `${userAgent} actions_orchestration_id/${sanitized}`;
|
||||
}
|
||||
|
||||
})();
|
||||
|
||||
Reference in new issue
Block a user