Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
packageName: string,
repoUrl: string,
github: GitHubAPI
) {
const releaseOptions: GitHubReleaseOptions = {
label: 'autorelease: pending',
repoUrl,
packageName,
apiUrl: DEFAULT_API_URL,
octokitAPIs: {
octokit: github,
graphql: github.graphql,
request: github.request,
},
};
const ghr = new GitHubRelease(releaseOptions);
Runner.releaser(ghr);
}