Linting, adding dist files.

This commit is contained in:
Federico Builes
2022-11-09 13:22:33 +01:00
parent ae538ebe32
commit bf8cfe8b38
3 changed files with 15 additions and 15 deletions
+2 -2
View File
@@ -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