You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/action-aoc-badges.yml
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,14 @@ jobs:
7
7
steps:
8
8
- uses: actions/checkout@v2 # clones your repo
9
9
10
+
- uses: joblo2213/aoc-badges-action@v3
11
+
with:
12
+
userid: ${{ secrets.AOC_USER_ID }} # your user id, see setup on how to obtain
13
+
session: ${{ secrets.AOC_SESSION }} # secret containing session code, see setup on how to obtain
14
+
year: 2024
15
+
starsRegex: '(?<=https:\/\/img\.shields\.io\/badge\/2024%20stars%20⭐-)[0-9]+(?=-yellow)'# Regular expression that finds the content of the stars badge in your file.
16
+
daysCompletedRegex: '(?<=https:\/\/img\.shields\.io\/badge\/2024%20days%20completed-)[0-9]+(?=-red)'# Regular expression that finds the content of the days completed badge iun your file.
17
+
10
18
- uses: joblo2213/aoc-badges-action@v3
11
19
with:
12
20
userid: ${{ secrets.AOC_USER_ID }} # your user id, see setup on how to obtain
0 commit comments