feat(github): append orchestration ID to user-agent in getOctokitOptions
When ACTIONS_ORCHESTRATION_ID is set, appends
actions_orchestration_id/{sanitizedId} to the user-agent string.
- Add getUserAgentWithOrchestrationId() to internal/utils.ts
- Wire into getOctokitOptions() so all getOctokit() calls include it
- Re-export helper from @actions/github/lib/utils for downstream consumers
- 14 deterministic unit tests covering helper, integration, edge cases
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
# @actions/github Releases
|
||||
|
||||
### 9.1.0
|
||||
|
||||
- Append `actions_orchestration_id` to user-agent when `ACTIONS_ORCHESTRATION_ID` environment variable is set
|
||||
- Export `getUserAgentWithOrchestrationId` from `@actions/github/lib/utils` for downstream consumers
|
||||
|
||||
### 9.0.0
|
||||
|
||||
- **Breaking change**: Package is now ESM-only
|
||||
|
||||
Reference in New Issue
Block a user