mirror of
https://github.com/primer/css.git
synced 2024-12-29 17:12:27 +03:00
undefined
This commit is contained in:
parent
2ce36e38cf
commit
509501df97
2
.github/workflows/labeler.yml
vendored
2
.github/workflows/labeler.yml
vendored
@ -34,7 +34,7 @@ jobs:
|
||||
})
|
||||
const currentLabels = issue.data.labels.map( l => l.name)
|
||||
const newLabel = `${process.env.RELEASE} release`
|
||||
if (!currentLabels.includes(newLabel)) {
|
||||
if (!currentLabels.includes(newLabel) && newLabel != 'undefined release') {
|
||||
const otherReleaseLabels = currentLabels.filter( l => l.endsWith(' release'))
|
||||
if (otherReleaseLabels.length) {
|
||||
github.issues.removeLabel({
|
||||
|
Loading…
Reference in New Issue
Block a user