Skip to content

Commit 67cb9be

Browse files
authored
Don't add triage-needed to release-plan
1 parent d088a08 commit 67cb9be

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/issue-labels.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ jobs:
2323
issue_number: context.issue.number,
2424
})
2525
const labels = result.data.map((label) => label.name)
26-
const hasNeedsOrTPI = labels.some((label) => (label.startsWith('needs') || label === 'testplan-item' || label.startsWith('iteration-plan')))
26+
const hasNeedsOrTPI = labels.some((label) => (label.startsWith('needs') || label === 'testplan-item' || label.startsWith('iteration-plan') || label === 'release-plan'))
2727
2828
if (!hasNeedsOrTPI) {
29-
console.log('This issue is not labeled with a "needs __", "iteration-plan", or the "testplan-item" label; add the "triage-needed" label.')
29+
console.log('This issue is not labeled with a "needs __", "iteration-plan", "release-plan", or the "testplan-item" label; add the "triage-needed" label.')
3030
3131
github.rest.issues.addLabels({
3232
owner: context.repo.owner,
@@ -35,5 +35,5 @@ jobs:
3535
labels: ['triage-needed']
3636
})
3737
} else {
38-
console.log('This issue already has a "needs __", "iteration-plan", or the "testplan-item" label, do not add the "triage-needed" label.')
38+
console.log('This issue already has a "needs __", "iteration-plan", "release-plan", or the "testplan-item" label, do not add the "triage-needed" label.')
3939
}

0 commit comments

Comments
 (0)