Skip to content

Commit 81578aa

Browse files
author
Kartik Raj
authored
Disable removing labels until label list is upto-date (microsoft#19662)
1 parent bb54c9f commit 81578aa

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

.github/workflows/issue-labels.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,3 @@ jobs:
5757
} else {
5858
console.log('This issue already has a "needs __", "iteration-plan", "release-plan", or the "testplan-item" label, do not add the "triage-needed" label.')
5959
}
60-
const knownLabels = ${{ env.REPO_LABELS }}
61-
for( const label of labels) {
62-
if (!knownLabels.includes(label)) {
63-
await github.rest.issues.deleteLabel({
64-
owner: context.repo.owner,
65-
repo: context.repo.repo,
66-
name: label,
67-
})
68-
}
69-
}

0 commit comments

Comments
 (0)