Skip to content

Commit c5651e9

Browse files
committed
build: release: cleanup component section
1 parent 1a7594d commit c5651e9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/maven-central.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,14 +118,15 @@ jobs:
118118
--json number,labels \
119119
--jq '
120120
[ .[] as $issue | $issue.labels[].name |
121-
select(. != "bug" and . != "enhancement" and . != "feature" and . != "feedback" and . != "break-change" and . != "api-change" and . != "dependencies" and . != "deprecated") |
121+
select(. != "bug" and . != "documentation" and . != "question" and . != "enhancement" and . != "feature" and . != "feedback" and . != "break-change" and . != "api-change" and . != "dependencies" and . != "deprecated") |
122122
{name: ., number: $issue.number} ] |
123123
group_by(.name) |
124124
map({
125125
name: .[0].name,
126126
count: length,
127127
issues: map("#\(.number)") | join(", ")
128128
}) |
129+
map(select(.count > 1)) |
129130
sort_by(-.count) |
130131
if length > 0 then
131132
"| Component | Count | Issues |\n|---|---|---|\n" + (map("| \(.name) | \(.count) | \(.issues) |") | join("\n"))

0 commit comments

Comments
 (0)