Linting, adding dist files.
This commit is contained in:
+2
-2
@@ -44,8 +44,8 @@ export function isSPDXValid(license: string): boolean {
|
||||
export function octokitClient(token = 'repo-token', required = true): Octokit {
|
||||
const opts: Record<string, unknown> = {}
|
||||
|
||||
// auth is only added if token is present.
|
||||
// For remote-config-files in public repos, the token is optional so it could be undefined
|
||||
// auth is only added if token is present. For remote config files in public
|
||||
// repos the token is optional, so it could be undefined.
|
||||
const auth = core.getInput(token, {required})
|
||||
if (auth !== undefined) {
|
||||
opts['auth'] = auth
|
||||
|
||||
Reference in New Issue
Block a user