* remove eslint prettier plugins Signed-off-by: Brian DeHamer <bdehamer@github.com> * eslint upgrade Signed-off-by: Brian DeHamer <bdehamer@github.com> * source fixup Signed-off-by: Brian DeHamer <bdehamer@github.com> --------- Signed-off-by: Brian DeHamer <bdehamer@github.com>
25 lines
826 B
TypeScript
25 lines
826 B
TypeScript
/**
|
|
* The entrypoint for the action.
|
|
*/
|
|
import * as core from '@actions/core'
|
|
import { run, RunInputs } from './main'
|
|
|
|
const inputs: RunInputs = {
|
|
subjectPath: core.getInput('subject-path'),
|
|
subjectName: core.getInput('subject-name'),
|
|
subjectDigest: core.getInput('subject-digest'),
|
|
predicateType: core.getInput('predicate-type'),
|
|
predicate: core.getInput('predicate'),
|
|
predicatePath: core.getInput('predicate-path'),
|
|
pushToRegistry: core.getBooleanInput('push-to-registry'),
|
|
showSummary: core.getBooleanInput('show-summary'),
|
|
githubToken: core.getInput('github-token'),
|
|
// undocumented -- not part of public interface
|
|
privateSigning: ['true', 'True', 'TRUE', '1'].includes(
|
|
core.getInput('private-signing')
|
|
)
|
|
}
|
|
|
|
/* eslint-disable-next-line @typescript-eslint/no-floating-promises */
|
|
run(inputs)
|