mirror of
https://github.com/actions/github-script.git
synced 2026-02-07 11:37:26 +00:00
Change orchestration ID format to actions_orchestration_id
Co-authored-by: TingluoHuang <1750815+TingluoHuang@users.noreply.github.com>
This commit is contained in:
parent
c0078b2072
commit
b67a972797
2 changed files with 2 additions and 2 deletions
2
dist/index.js
vendored
2
dist/index.js
vendored
|
|
@ -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}`;
|
||||
}
|
||||
|
||||
})();
|
||||
|
|
|
|||
|
|
@ -114,5 +114,5 @@ function getUserAgentWithOrchestrationId(userAgent: string): string {
|
|||
// 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}`
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue