Skip to content

Commit

Permalink
chore: don't comment twice
Browse files Browse the repository at this point in the history
  • Loading branch information
balazsorban44 committed Nov 30, 2022
1 parent 8603901 commit 7bd1703
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/actions/issue-validator/index.mjs

Large diffs are not rendered by default.

10 changes: 8 additions & 2 deletions .github/actions/issue-validator/src/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 7bd1703

Please sign in to comment.