export function getInputs()

in scan/src/utils.ts [84:108]


export function getInputs(): Inputs {
  const rawArgs = core.getInput('args')
  const argList = parseRawArguments(rawArgs)
  return {
    args: argList,
    resultsDir: core.getInput('results-dir'),
    cacheDir: core.getInput('cache-dir'),
    primaryCacheKey: core.getInput('primary-cache-key'),
    additionalCacheKey: core.getInput('additional-cache-key'),
    cacheDefaultBranchOnly: core.getBooleanInput('cache-default-branch-only'),
    uploadResult: core.getBooleanInput('upload-result'),
    uploadSarif: false, // not used by the action
    artifactName: core.getInput('artifact-name'),
    useCaches: core.getBooleanInput('use-caches'),
    useAnnotations: core.getBooleanInput('use-annotations'),
    prMode: core.getBooleanInput('pr-mode'),
    postComment: core.getBooleanInput('post-pr-comment'),
    githubToken: core.getInput('github-token'),
    pushFixes: core.getInput('push-fixes'),
    commitMessage: core.getInput('commit-message'),
    useNightly: core.getBooleanInput('use-nightly'),
    // not used by the action
    workingDirectory: ''
  }
}