Salman Chishti
3643ce2db4
style: fix prettier formatting in orchestration tests
2026-04-08 19:38:31 +00:00
Salman Chishti
ffeb50bd02
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
b0917c5a37
style: fix prettier formatting in orchestration tests
2026-04-07 16:35:32 +00:00
Salman Chishti
a8ea745713
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
b05d26b3fa
ESM-only with updated @octokit dependencies
2026-01-27 15:35:32 -05:00
Tatyana Kostromskaya
494f12bcd9
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
111c95866e
fix test + update semver
2023-09-26 11:10:18 +00:00
Tatyana Kostromskaya
ddc9c52eb6
revert octokit changes
2023-09-26 11:05:37 +00:00
Tatyana Kostromskaya
6d37c6eb2b
try to fix tests
2023-09-15 15:04:21 +00:00
Tatyana Kostromskaya
6477ef1460
tests
2023-09-15 13:54:28 +00:00
Tatyana Kostromskaya
2e5b10e3bd
fix tests
2023-09-15 13:45:26 +00:00
Tatyana Kostromskaya
8c1e6a00f0
try to fix test
2023-09-15 13:28:29 +00:00
Tatyana Kostromskaya
ce31408ff5
Update dependencies
2023-09-08 14:29:27 +00:00
Ferenc Hammerl
6b18932b86
Fix missing typescript casts
2022-12-14 01:28:46 +01:00
Thomas Boop
0d74e9080a
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
208fa83feb
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
ccad19055e
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
4a89cf72de
@actions/github v3 using Octokit/core ( #453 )
...
* Rebuild to use @Octokit/Core
2020-06-02 21:39:46 -04:00
Bryan MacFarlane
4e9375da09
Tool cache install from a manifest file ( #382 )
2020-05-19 13:25:57 -04:00
Thomas Boop
3c125ce4e0
Update eslint to 2.2.7 ( #410 )
2020-04-13 10:19:49 -04:00
Thomas Boop
a9175f3986
Correctly pull issue number for pull request review events ( #311 )
2020-01-21 10:44:38 -05:00
eric sciple
ab5bd9d696
octokit client should follow proxy settings ( #314 )
2020-01-18 14:28:37 -05:00
Danny McCormick
2a2b51f939
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
e3911754c1
Rename packages/github to packages/toolkit
2019-04-19 15:52:23 -04:00
Jonathan Clem
3e32975625
Add ESLint and Prettier tooling
2019-04-19 15:35:44 -04:00
Jonathan Clem
f026c43b81
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
97bc7918f4
Add a placeholder GitHub package
...
This will serve as something to build testing/TypeScript tooling around
2019-04-19 14:53:42 -04:00