We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79db57e commit 049e830Copy full SHA for 049e830
src/main.rs
@@ -1205,10 +1205,10 @@ impl Config {
1205
.lines()
1206
// lines of table with PR builds
1207
.filter(|l| l.starts_with("|#"))
1208
- // get the commit link
1209
- .filter_map(|l| l.split('|').nth(2))
1210
- // get the commit sha
1211
- .map(|l| l.split_once('[').unwrap().1.rsplit_once(']').unwrap().0)
+ // get the commit link: it's in the 3rd column, i.e. the 4th pipe-split chunk
+ .filter_map(|l| l.split('|').nth(3))
+ // get the commit sha: the cell has the format "`$sha` ([link]($ci-repo/commit/$sha))"
+ .map(|l| l.split_once('`').unwrap().1.rsplit_once('`').unwrap().0)
1212
.collect::<Vec<_>>();
1213
let short_sha = builds
1214
.iter()
0 commit comments