Trim try-job names

This commit is contained in:
Jakub Beránek 2025-02-17 12:21:24 +01:00
parent 8ccaf48fcd
commit f35c88043b
No known key found for this signature in database
GPG key ID: 909CD0D26483516B

View file

@ -136,7 +136,7 @@ impl GitHubContext {
if let Some(ref msg) = self.commit_message {
msg.lines()
.filter_map(|line| line.trim().strip_prefix("try-job: "))
.map(|l| l.to_string())
.map(|l| l.trim().to_string())
.collect()
} else {
vec![]