Commit 7bd17038 authored by Balázs Orbán's avatar Balázs Orbán

chore: don't comment twice

parent 86039016
This diff is collapsed.
......@@ -53,9 +53,15 @@ async function run() {
if (
!(isBugReport && issue.number > 43554) &&
![verifyCanaryLabel, addReproductionLabel].includes(newLabel)
![verifyCanaryLabel, addReproductionLabel].includes(newLabel) &&
!(
labels.includes(verifyCanaryLabel) ||
labels.includes(addReproductionLabel)
)
) {
return core.info('Not a bug report or not manually labeled')
return core.info(
'Not a bug report or not manually labeled or already labeled.'
)
}
/** @param {string|null|undefined} link */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment