Skip to content

Commit

Permalink
Merge branch 'main' into reporter-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tstellar authored Jan 16, 2025
2 parents 4ffae81 + f0754d0 commit c4c255d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/mass-rebuild-reporter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,7 @@ jobs:
if (regressions.length == 0)
return;
regressions.forEach(function(value){
comment = comment.concat('\n', value.name);
comment = comment.concat(': ', value.url);
comment = comment + `- [ ] [${value.name}](${value.url})\n`
});
console.log(comment);
const issue = await github.rest.issues.create({
Expand Down
5 changes: 4 additions & 1 deletion scripts/rebuilder.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,10 +231,13 @@ def get_monthly_rebuild_regressions(
continue
if int(p.latest.submitted_on) < start_time.timestamp():
continue
owner_url = project_owner
if owner_url[0] == "@":
owner_url = f"g/{owner_url[1:]}"
pkgs.append(
{
"name": p.name,
"url": f"https://copr.fedorainfracloud.org/coprs/{project_owner}/{project_name}/build/{p.latest.id}/",
"url": f"https://copr.fedorainfracloud.org/coprs/{owner_url}/{project_name}/build/{p.latest.id}/",
}
)
return pkgs
Expand Down

0 comments on commit c4c255d

Please sign in to comment.