Skip to content

Commit

Permalink
2023: day 1, both parts
Browse files Browse the repository at this point in the history
  • Loading branch information
BioGeek committed Dec 1, 2023
1 parent 328dbe1 commit fe42921
Show file tree
Hide file tree
Showing 8 changed files with 1,102 additions and 3 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/badges.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,16 @@ jobs:
steps:
- uses: actions/checkout@v3 # clones your repo

- uses: joblo2213/aoc-badges-action@v3
with:
userid: 23810 # your user id, see setup on how to obtain
session: ${{ secrets.AOC_SESSION }} # secret containing session code, see setup on how to obtain
year: 2023 # The year for which stats should be retrieved
file: 'README.md' # The file that contains the badges
starsRegex: '(?<=https:\/\/img\.shields\.io\/badge\/stars%20⭐-)[0-9]+(?=-yellow&year=2023)' # Regular expression that finds the content of the stars badge iun your file.
daysCompletedRegex: '(?<=https:\/\/img\.shields\.io\/badge\/days%20completed-)[0-9]+(?=-red&year=2023)' # Regular expression that finds the content of the days completed badge iun your file.


- uses: joblo2213/aoc-badges-action@v3
with:
userid: 23810 # your user id, see setup on how to obtain
Expand Down
1 change: 0 additions & 1 deletion 2021/day03.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# type: ignore
from collections import Counter
from typing import List

Expand Down
Loading

0 comments on commit fe42921

Please sign in to comment.