()
| 21 | } |
| 22 | |
| 23 | export 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 | |
| 33 | export function getGitHubRepo() { |
| 34 | const repository = process.env.GITHUB_REPOSITORY; |
no outgoing calls
no test coverage detected
searching dependent graphs…