feat: add option to choose between force and force-with-lease

This commit is contained in:
Keunhong Lee 2022-05-18 06:46:22 +00:00
parent f094b77505
commit e4c00137fe
4 changed files with 10 additions and 4 deletions

View file

@ -25,7 +25,8 @@ async function run(): Promise<void> {
reviewers: utils.getInputAsArray('reviewers'),
teamReviewers: utils.getInputAsArray('team-reviewers'),
milestone: Number(core.getInput('milestone')),
draft: core.getBooleanInput('draft')
draft: core.getBooleanInput('draft'),
force: core.getBooleanInput('force')
}
core.debug(`Inputs: ${inspect(inputs)}`)