Skip to content

Commit d088a08

Browse files
authored
Fix the classification label
1 parent b7e72fe commit d088a08

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/issue-labels.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ permissions:
1010
jobs:
1111
# From https://github.com/marketplace/actions/github-script#apply-a-label-to-an-issue.
1212
add-classify-label:
13-
name: "Add 'needs-triage'"
13+
name: "Add 'triage-needed'"
1414
runs-on: ubuntu-latest
1515
steps:
1616
- uses: actions/github-script@v6
@@ -26,14 +26,14 @@ jobs:
2626
const hasNeedsOrTPI = labels.some((label) => (label.startsWith('needs') || label === 'testplan-item' || label.startsWith('iteration-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 "needs-triage" label.')
29+
console.log('This issue is not labeled with a "needs __", "iteration-plan", or the "testplan-item" label; add the "triage-needed" label.')
3030
3131
github.rest.issues.addLabels({
3232
owner: context.repo.owner,
3333
repo: context.repo.repo,
3434
issue_number: context.issue.number,
35-
labels: ['needs-triage']
35+
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 "needs-triage" label.')
38+
console.log('This issue already has a "needs __", "iteration-plan", or the "testplan-item" label, do not add the "triage-needed" label.')
3939
}

0 commit comments

Comments
 (0)