add setting to only create, but not update comment

This commit is contained in:
WebFreak001 2023-02-07 20:22:10 +01:00
parent 0170f2ea39
commit 7f05636c59
No known key found for this signature in database
GPG key ID: AEFC88D11109D1AA
6 changed files with 38 additions and 193 deletions

View file

@ -22,6 +22,9 @@ export const hideClassify = core.getInput("hide_classify", {
required: true
}) as ReportedContentClassifiers
export const deleteOldComment = core.getBooleanInput("delete", {required: true})
export const onlyCreateComment = core.getBooleanInput("only_create", {
required: false
})
export const hideOldComment = core.getBooleanInput("hide", {required: true})
export const githubToken = core.getInput("GITHUB_TOKEN", {required: true})
export const ignoreEmpty = core.getBooleanInput("ignore_empty", {