Skip to content

Commit eeaaae1

Browse files
committed
Added stat:import label to the list of exclusion when deleting labels from closed issues
1 parent 672ed1e commit eeaaae1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/remove-labels-on-issue-close.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
id: data
2020
run: |
2121
# Convert labels to array and filter out type: labels
22-
LABELS_TO_REMOVE=($(echo "$EXISTING_LABELS" | jq -r '.[] | select(startswith("type:") or startswith("port:") or startswith("priority:") or . == "regression" | not)'))
22+
LABELS_TO_REMOVE=($(echo "$EXISTING_LABELS" | jq -r '.[] | select(startswith("type:") or startswith("port:") or startswith("priority:") or . == "regression" or . == "stat:imported" | not)'))
2323
2424
# Only proceed if we have labels to remove
2525
if [ ${#LABELS_TO_REMOVE[@]} -gt 0 ]; then

0 commit comments

Comments
 (0)