MCPcopy Index your code
hub / github.com/lingodotdev/lingo.dev / getGitHubToken

Function getGitHubToken

scripts/docs/src/utils.ts:23–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21}
22
23export function getGitHubToken() {
24 const token = process.env.GITHUB_TOKEN;
25
26 if (!token) {
27 throw new Error("GITHUB_TOKEN environment variable is required.");
28 }
29
30 return token;
31}
32
33export function getGitHubRepo() {
34 const repository = process.env.GITHUB_REPOSITORY;

Callers 2

utils.test.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…