Skip to content

Commit 0048e07

Browse files
authored
Merge pull request #2517 from clarfonthey/relnotes-needs-review
Add relnotes-needs-review label
2 parents be171d7 + 7eb8f3e commit 0048e07

1 file changed

Lines changed: 11 additions & 7 deletions

File tree

‎src/handlers/relnotes.rs‎

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -119,18 +119,22 @@ If this change is notable enough for inclusion in the blog post then this sectio
119119
e.issue.repository(),
120120
&title,
121121
&body,
122-
["relnotes", "relnotes-tracking-issue"]
123-
.into_iter()
124-
.chain(e.issue.labels.iter().map(|l| &*l.name).filter(|l| {
125-
l.starts_with("A-") // A-* (area)
122+
[
123+
"relnotes",
124+
"relnotes-tracking-issue",
125+
"relnotes-needs-review",
126+
]
127+
.into_iter()
128+
.chain(e.issue.labels.iter().map(|l| &*l.name).filter(|l| {
129+
l.starts_with("A-") // A-* (area)
126130
|| l.starts_with("F-") // F-* (feature)
127131
|| l.starts_with("L-") // L-* (lint)
128132
|| l.starts_with("O-") // O-* (OS)
129133
|| l.starts_with("T-") // T-* (team)
130134
|| l.starts_with("WG-") // WG-* (working group)
131-
}))
132-
.map(ToOwned::to_owned)
133-
.collect::<Vec<_>>(),
135+
}))
136+
.map(ToOwned::to_owned)
137+
.collect::<Vec<_>>(),
134138
)
135139
.await?;
136140
if let Some(milestone) = &e.issue.milestone {

0 commit comments

Comments
 (0)