1
1
mirror of https://github.com/primer/css.git synced 2024-12-29 17:12:27 +03:00

undefined

This commit is contained in:
Jon Rohan 2021-04-02 10:16:53 -07:00
parent 2ce36e38cf
commit 509501df97
No known key found for this signature in database
GPG Key ID: B0BBE304A9A0AECB

View File

@ -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({