mirror of
https://github.com/actions/github-script.git
synced 2026-06-06 09:04:23 +00:00
Add pre-configured getOctokit factory to the script context, enabling multi-token workflows directly inside github-script. - getOctokit(token, opts, ...plugins) inherits action config (retry, userAgent, etc.) - Deep-merges request and retry options, deduplicates plugins - stripUndefined prevents baseUrl clobber on GHES - Integration test job with dynamic repo name (fork-friendly) - 32 tests passing (15 factory + 4 integration + 6 getOctokit + 7 existing) |
||
|---|---|---|
| .. | ||
| async-function.test.ts | ||
| create-configured-getoctokit.test.ts | ||
| get-retry-options.test.ts | ||
| getoctokit-integration.test.ts | ||