INNER CODE UNIT · TypeScript
getInputs
peter-evans/slash-command-dispatch · src/command-helper.ts:75
export function getInputs(): Inputs {
// Defaults set in action.yml
return {
token: core.getInput('token'),
reactionToken: core.getInput('reaction-token'),
reactions: core.getInput('reactions') === 'true',
commands: utils.getInputAsArray('commands'),
permission: core.getInput('permission'),
issueType: core.getInput('issue-type'),
allowEdits: core.getInput('allow-edits') === 'true',
repository: core.getInput('repository'),
eventTypeSuffix: core.getInput('event-type-suffix'),
staticArgs: utils.getInputAsArray('static-args'),
dispatchType: core.getInput('dispatch-type'),
config: core.getInput('config'),
configFromFile: core.getInput('config-from-file')
}
}