Skip to content

Commit 41a1a5b

Browse files
authored
More tests for summarize-checks (#36522)
* upping coverage within summarize-checks.js to 100% for all the comment assembly etc
1 parent 4dfa749 commit 41a1a5b

File tree

4 files changed

+557
-873
lines changed

4 files changed

+557
-873
lines changed

.github/workflows/src/summarize-checks/labelling.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -411,8 +411,8 @@ export const breakingChangesCheckType = {
411411
* @returns {void}
412412
*/
413413
export function processArmReviewLabels(context, existingLabels) {
414-
// only kick this off if the ARMReview label is present
415-
if (existingLabels.includes("ARMReview")) {
414+
// only kick this off if the ARMReview label is present and NotReadyForARMReview is not present
415+
if (existingLabels.includes("ARMReview") && !existingLabels.includes("NotReadyForARMReview")) {
416416
// the important part about how this will work depends how the users use it
417417
// EG: if they add the "ARMSignedOff" label, we will remove the "ARMChangesRequested" and "WaitForARMFeedback" labels.
418418
// if they add the "ARMChangesRequested" label, we will remove the "WaitForARMFeedback" label.

0 commit comments

Comments
 (0)