File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed
src/rapporto/source/github Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
3
## In progress
4
- - Shell/Notify: Add reference about caveats page to weekly report's preamble
4
+ - Shell/Notify: Added reference about caveats page to weekly report's preamble
5
+ - GitHub/Actions: Fixed deduplication for multiple different workflows per repository
5
6
6
7
## v0.6.0, 2025-03-11
7
8
- Shell/Notify: Split root message into root+preamble, including links
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ def runs(self):
37
37
seen = set ()
38
38
for run in self .runs_failed :
39
39
# Filter duplicates.
40
- key = f"{ run .repository .full_name } -{ run .head_branch } "
40
+ key = f"{ run .repository .full_name } -{ run .head_branch } - { run . name } "
41
41
if key in seen :
42
42
continue
43
43
@@ -52,13 +52,13 @@ def is_pr_successful(self, run):
52
52
"""
53
53
Find out if a given run has others that succeeded afterward.
54
54
"""
55
- for pr in self .runs_pr_success :
55
+ for pr_run in self .runs_pr_success :
56
56
if (
57
- run .repository .full_name == pr .repository .full_name
58
- and run .head_branch == pr .head_branch
57
+ run .repository .full_name == pr_run .repository .full_name
58
+ and run .head_branch == pr_run .head_branch
59
+ and run .name == pr_run .name
59
60
):
60
- if pr .conclusion == "success" :
61
- return True
61
+ return True
62
62
return False
63
63
64
64
@property
You can’t perform that action at this time.
0 commit comments