Skip to content

Commit acf032b

Browse files
committed
Emojis for the brand new HTML report format
1 parent b8457a0 commit acf032b

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

src/gitxray/include/gx_definitions.py

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,32 @@
1616

1717
COMMIT_HOURS = {i: f"{i%12 if i%12 else 12}{'am' if i < 12 else 'pm'} UTC" for i in range(24)}
1818

19+
# For the HTML output format
20+
HTML_REPORT_EMOJIS = {
21+
"metrics": "&#128200;",
22+
"urls": "&#127760;",
23+
"personal": "&#127380;",
24+
"emails": "&#9993;",
25+
"profiling": "&#128373;",
26+
"commits": "&#128229;",
27+
"keys": "&#128273;",
28+
"user_input": "&#9000;",
29+
"90d_events": "&#128467;",
30+
"releases": "&#128640;",
31+
"contributors": "&#128101;",
32+
"labels": "&#128278;",
33+
"comments": "&#128172;",
34+
"deployments": "&#128736;",
35+
"environments": "&#127757;",
36+
"branches": "&#127807;",
37+
"tags": "&#127991;",
38+
"workflows": "&#128421;",
39+
"artifacts": "&#128230;",
40+
"signatures": "&#9997;",
41+
"association": "&#129309;",
42+
"prs": "&#128256;"
43+
}
44+
1945
# Identifies user-supplied data as per: https://securitylab.github.com/resources/github-actions-untrusted-input/
2046
WORKFLOWS_USER_INPUT = {
2147
"Issue Title": r'\${{\s*github\.event\.issue\.title\s*}}',

0 commit comments

Comments
 (0)