Salman Chishti
892de51ec2
style: fix prettier formatting in orchestration tests
2026-04-08 19:38:31 +00:00
Salman Chishti
0b265950d7
fix: prevent duplicate orchestration ID in user-agent
...
Add idempotency check to getUserAgentWithOrchestrationId — if the
tag is already present in baseUserAgent, return it unchanged. This
prevents doubling when both the exported helper and getOctokitOptions
run for the same client.
2026-04-08 16:49:32 +00:00
Salman Chishti
3edb5c03a4
style: fix prettier formatting in orchestration tests
2026-04-07 16:35:32 +00:00
Salman Chishti
2c759f2535
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
2026-04-07 16:16:11 +00:00
Lokesh Gopu
27ff53d472
ESM-only with updated @octokit dependencies
2026-01-27 15:35:32 -05:00
Tatyana Kostromskaya
9c84b6a359
Update dependencies in github package ( #1553 )
...
* Update octokit package
* define type for function
* fix linter
* Update github package to latest
* Update RELEASES.md
2023-10-10 16:04:42 +02:00
Tatyana Kostromskaya
ff07b998ed
fix test + update semver
2023-09-26 11:10:18 +00:00
Tatyana Kostromskaya
5653404e2c
revert octokit changes
2023-09-26 11:05:37 +00:00
Tatyana Kostromskaya
4ac965b96a
try to fix tests
2023-09-15 15:04:21 +00:00
Tatyana Kostromskaya
fbd895e539
tests
2023-09-15 13:54:28 +00:00
Tatyana Kostromskaya
646dd225cb
fix tests
2023-09-15 13:45:26 +00:00
Tatyana Kostromskaya
4574e1f21a
try to fix test
2023-09-15 13:28:29 +00:00
Tatyana Kostromskaya
2ba5017629
Update dependencies
2023-09-08 14:29:27 +00:00
Ferenc Hammerl
ca2720ac5d
Fix missing typescript casts
2022-12-14 01:28:46 +01:00
Thomas Boop
4b8304008e
Re-enable the audit tools step and update dependencies ( #815 )
...
* update package versions
* run audit
* fix eslint config
* linter updates
* re-enable audit
* update timeouts test
* pass done into callback
* fix format
2021-05-21 09:19:40 -04:00
Thomas Boop
e43c393e29
Release @actions/github v.5.0.0 ( #783 )
...
* update latest octokit definitions
* update package versions
* update link in release notes
* update tsc version
2021-05-04 16:20:38 -04:00
Thomas Boop
cde1a0af52
Set main as the default branch ( #527 )
...
* set main as the default branch
* revert change to tool-cache default branch
* use versions where applicable
2020-07-21 11:33:05 -04:00
Thomas Boop
1bc87e2271
@actions/github v3 using Octokit/core ( #453 )
...
* Rebuild to use @Octokit/Core
2020-06-02 21:39:46 -04:00
Bryan MacFarlane
a8c0896b1e
Tool cache install from a manifest file ( #382 )
2020-05-19 13:25:57 -04:00
Thomas Boop
98b3ed6ebd
Update eslint to 2.2.7 ( #410 )
2020-04-13 10:19:49 -04:00
Thomas Boop
1aa072575d
Correctly pull issue number for pull request review events ( #311 )
2020-01-21 10:44:38 -05:00
eric sciple
0f1f686e9d
octokit client should follow proxy settings ( #314 )
2020-01-18 14:28:37 -05:00
Danny McCormick
971a449c2e
Add github package ( #32 )
...
* Add github package
* Docs
* Feedback
* Accidentally added extra
* Allow octokit to be extended
* Respond to feedback
* Feedback
2019-07-29 13:09:32 -04:00
Jonathan Clem
32ba809bdf
Rename packages/github to packages/toolkit
2019-04-19 15:52:23 -04:00
Jonathan Clem
69680c47c3
Add ESLint and Prettier tooling
2019-04-19 15:35:44 -04:00
Jonathan Clem
ecd9a32a56
Add working Jest & TypeScript config
...
- Jest now uses ts-jest for transforms
- TypeScript compilation via `lerna run tsc`
2019-04-19 15:15:34 -04:00
Jonathan Clem
7d29a743f6
Add a placeholder GitHub package
...
This will serve as something to build testing/TypeScript tooling around
2019-04-19 14:53:42 -04:00