File tree 3 files changed +16
-5
lines changed
3 files changed +16
-5
lines changed Original file line number Diff line number Diff line change 5
5
6
6
from pathlib import Path
7
7
8
-
9
8
_TROPHIES = Path (__file__ ).parent / "trophies.txt"
10
9
11
10
_TEMPLATE = """
21
20
continue
22
21
23
22
org , rest = trophy .split ("/" )
24
- repo , _ = rest .split ("#" )
23
+ if "#" in rest :
24
+ repo , _ = rest .split ("#" )
25
+ else :
26
+ repo , _ = rest .split ("@" )
27
+
25
28
# NOTE: We request 40x40 from GitHub, but sometimes it gives us a bigger one.
26
29
# Consequently, we also style with `width` to keep things consistent.
27
30
print (_TEMPLATE .format (org = org , repo = repo , trophy = trophy ))
Original file line number Diff line number Diff line change 71
71
72
72
ethereum/hevm #615
73
73
74
+ - ![ ] ( https://github.com/girlbossceo.png?size=40 ) { width="40" loading=lazy align=left } girlbossceo/conduwuit
75
+
76
+ ---
77
+
78
+ girlbossceo/conduwuit@c6bf8f5ea15a6b963220a1de4bb50a639d0d0696
79
+
74
80
- ![ ] ( https://github.com/hugovk.png?size=40 ) { width="40" loading=lazy align=left } hugovk/em-keyboard
75
81
76
82
---
Original file line number Diff line number Diff line change 1
1
# one per line, order is not important
2
- # trophies MUST be formatted as owner/repo#number,
3
- # where owner/repo is the GitHub repo slug and
4
- # number is the issue/PR that introduces or uses zizmor
2
+
3
+ # two formats are supported:
4
+ # owner/repo#number for PRs
5
+ # owner/repo@commit for individual commits
5
6
6
7
adafruit/circuitpython#9785
7
8
astral-sh/ruff#14844
8
9
astropy/astropy#17315
9
10
cakephp/cakephp#18081
11
+ girlbossceo/conduwuit@c6bf8f5ea15a6b963220a1de4bb50a639d0d0696
10
12
danmar/cppcheck#7044
11
13
DataDog/datadog-agent#30871
12
14
Diaoul/subliminal#1190
You can’t perform that action at this time.
0 commit comments