diff --git a/tools/find-issues-with-missing-labels.sh b/tools/find-issues-with-missing-labels.sh index 3fe03b89a4fd29..4d0868dd36ec63 100755 --- a/tools/find-issues-with-missing-labels.sh +++ b/tools/find-issues-with-missing-labels.sh @@ -2,7 +2,6 @@ # When the repository labels are changed (i.e dropped a label, added a label, etc), you should make the same change to the lists below. # For example, if the repository added a "type:task" type label, then add "-label:type:task" to the TYPE_LABELS_FILTER. -TYPE_LABELS_FILTER='-label:type:bug -label:type:feature -label:type:docs -label:type:refactor -label:type:help' PRIORITY_LABELS_FILTER='-label:priority-1-critical -label:priority-2-high -label:priority-3-medium -label:priority-4-low' @@ -14,7 +13,7 @@ REPO='renovatebot/renovate' ISSUE_TITLE="Issues with missing labels" -for FILTER in "$TYPE_LABELS_FILTER" "$PRIORITY_LABELS_FILTER"; do +for FILTER in "$PRIORITY_LABELS_FILTER"; do # Extract the label type from the filter LABEL_TYPE=$(echo "$FILTER" | cut -d ':' -f 2 | cut -d '-' -f 1) @@ -40,6 +39,7 @@ done if [ "$HAS_ISSUES_MISSING_LABELS" = false ]; then echo "All checked issues have labels. Exiting the action." + ISSUE_BODY="$ISSUE_BODY All checked issues are correctly labeled.\n" exit 0 fi