Skip to content

Commit cb828e1

Browse files
committed
GitHub/Attention: Added label "incidents", considering as important
1 parent 5d1226d commit cb828e1

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
## In progress
44
- GitHub/Bugs: Compare labels per lower-case
5+
- GitHub/Bugs: Added label "incidents", considering as important
56

67
## v0.4.0, 2025-03-05
78
- GitHub/Bugs: Also display `state==closed` items, formatting them

src/rapporto/source/github/attention.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,15 @@ class GitHubAttentionReport:
4646

4747
label_section_map: t.ClassVar[t.OrderedDict[str, str]] = OrderedDict(
4848
bug="Bugs",
49+
incident="Incidents",
4950
important="Important",
5051
stale="Stale",
5152
others="Others",
5253
)
5354

5455
label_aliases: t.ClassVar[t.Dict[str, t.List[str]]] = {
5556
"bug": ["type-bug", "type-crash", "type: Bug", "type: bug"],
57+
"incident": ["type: Incident"],
5658
}
5759

5860
def __init__(self, inquiry: GitHubInquiry):

0 commit comments

Comments
 (0)