Skip to content

Commit

Permalink
fix missing }
Browse files Browse the repository at this point in the history
  • Loading branch information
paulederbaus authored Feb 17, 2024
1 parent 6296755 commit 25fc0a3
Showing 1 changed file with 17 additions and 8 deletions.
25 changes: 17 additions & 8 deletions .github/workflows/label_new_issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,22 +24,31 @@ jobs:
if (issueBody.includes('Firmware (SHFW)')) {
labelsToAdd.push(shfwLabel);
} else if (issueBody.includes('Utility (SHUT)')) {
}
if (issueBody.includes('Utility (SHUT)')) {
labelsToAdd.push(shutLabel);
} else if (issueBody.includes('low (asthetic, minor issue)')) {
}
if (issueBody.includes('low (asthetic, minor issue)')) {
labelsToAdd.push(lowLabel);
} else if (issueBody.includes('medium (affects usability but has a workaround)')) {
}
if (issueBody.includes('medium (affects usability but has a workaround)')) {
labelsToAdd.push(mediumLabel);
} else if (issueBody.includes('high (major functionality broken, no workaround)')) {
}
if (issueBody.includes('high (major functionality broken, no workaround)')) {
labelsToAdd.push(highLabel);
} else if (issueBody.includes('critical (app crash, data loss)')) {
}
if (issueBody.includes('critical (app crash, data loss)')) {
labelsToAdd.push(criticalLabel);
} else if (issueBody.includes('low (take your time)')) {
}
if (issueBody.includes('low (take your time)')) {
labelsToAdd.push(lowLabel);
} else if (issueBody.includes('medium (upcoming releases)')) {
}
if (issueBody.includes('medium (upcoming releases)')) {
labelsToAdd.push(mediumLabel);
} else if (issueBody.includes('high (definitely next release)')) {
}
if (issueBody.includes('high (definitely next release)')) {
labelsToAdd.push(highLabel);
}
if (labelsToAdd.length > 0) {
github.rest.issues.addLabels({
Expand Down

0 comments on commit 25fc0a3

Please sign in to comment.