MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / resolveGitHubRepository

Function resolveGitHubRepository

apps/cli/src/release.ts:111–118  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

109};
110
111const resolveGitHubRepository = (): string => {
112 const repository = process.env.GH_REPO?.trim() || process.env.GITHUB_REPOSITORY?.trim();
113 if (!repository) {
114 throw new Error("Set GH_REPO or GITHUB_REPOSITORY before creating a GitHub release.");
115 }
116
117 return repository;
118};
119
120const packWrapperPackage = async (): Promise<string> => {
121 if (!existsSync(wrapperDir)) {

Callers 1

syncGitHubReleaseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected