Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const buildOptions: BuildOptions = {
packageName,
repoUrl,
apiUrl: DEFAULT_API_URL,
octokitAPIs: {
octokit: github,
graphql: github.graphql,
request: github.request,
},
bumpMinorPreMajor,
};
if (releaseLabels) {
buildOptions.label = releaseLabels.join(',');
}
Runner.runner(ReleasePRFactory.build(releaseType, buildOptions));
}