mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 10:47:04 +02:00
10 lines
264 B
TypeScript
10 lines
264 B
TypeScript
import { assertSecret } from '@blitzkit/core';
|
|
import { throttling } from '@octokit/plugin-throttling';
|
|
import { Octokit } from '@octokit/rest';
|
|
|
|
Octokit.plugin(throttling);
|
|
|
|
export const octokit = new Octokit({
|
|
auth: assertSecret(import.meta.env.GH_TOKEN),
|
|
});
|