ci: fix not setting breaking label on ready_for_review (#16616)

Noticed in my PR this wasn't getting added when I moved it out of draft: https://github.com/coder/coder/actions/runs/13406348393/job/37446868622

Related to https://github.com/coder/coder/pull/14667
This commit is contained in:
Ethan
2025-02-20 13:01:41 +11:00
committed by GitHub
parent 3fddfef879
commit 186a9b5bdc
+1 -1
View File
@@ -84,7 +84,7 @@ jobs:
repo: context.repo.repo,
}
if (action === "opened" || action === "reopened") {
if (action === "opened" || action === "reopened" || action === "ready_for_review") {
if (isBreakingTitle && !labels.includes(releaseLabels.breaking)) {
console.log('Add "%s" label', releaseLabels.breaking)
await github.rest.issues.addLabels({