You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
logger.info(`🤖 Following required labels are not present on the repository: ${missingLabels.map(label=>`"${label.name}"`).join(', ')}. Creating them…`);
logger.info(`🤖 Following required labels are not present on the repository: ${missingLabels.map(label=>`"${label.name}"`).join(', ')}. Creating them…`);
const[managedLabel]=issue.labels.filter(label=>managedLabelsNames.includes(label.name));// it is assumed that only one specific reason for failure is possible at a time, making managed labels mutually exclusive
if(managedLabel?.name==label){// if the label is already assigned to the issue, the error is redundant with the one already reported and no further action is necessary
const[managedLabel]=issue.labels.filter(label=>managedLabelsNames.includes(label.name));// it is assumed that only one specific reason for failure is possible at a time, making managed labels mutually exclusive
if(managedLabel?.name==label){// if the label is already assigned to the issue, the error is redundant with the one already reported and no further action is necessary
0 commit comments