Skip to content

Commit

Permalink
Fix badges workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
ZoltePudeleczko committed Dec 1, 2024
1 parent 1ba25a2 commit d098fd7
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/2022_badges.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ jobs:
userid: 208492
session: ${{ secrets.AOC_SESSION }}
year: 2022
leaderboard: 'https://adventofcode.com/2022/leaderboard/private/view/208492.json'
file: '2022/README.md'
leaderboard: "https://adventofcode.com/2022/leaderboard/private/view/208492.json"
file: "2022/README.md"
starsRegex: '(?<=https:\/\/img\.shields\.io\/badge\/stars%20⭐-)[0-9]+(?=-yellow)'
daysCompletedRegex: '(?<=https:\/\/img\.shields\.io\/badge\/days%20completed-)[0-9]+(?=-red)'
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Update badges
file_pattern: README.md
file_pattern: "2022/README.md"
6 changes: 3 additions & 3 deletions .github/workflows/2023_badges.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ jobs:
userid: 208492
session: ${{ secrets.AOC_SESSION }}
year: 2023
leaderboard: 'https://adventofcode.com/2023/leaderboard/private/view/208492.json'
file: '2023/README.md'
leaderboard: "https://adventofcode.com/2023/leaderboard/private/view/208492.json"
file: "2023/README.md"
starsRegex: '(?<=https:\/\/img\.shields\.io\/badge\/stars%20⭐-)[0-9]+(?=-yellow)'
daysCompletedRegex: '(?<=https:\/\/img\.shields\.io\/badge\/days%20completed-)[0-9]+(?=-red)'
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Update badges
file_pattern: README.md
file_pattern: "2023/README.md"
2 changes: 1 addition & 1 deletion .github/workflows/2024_badges.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ jobs:
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Update badges
file_pattern: README.md
file_pattern: "2024/README.md"
4 changes: 2 additions & 2 deletions 2024/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Advent of Code 2024 solutions 🎄

![](https://img.shields.io/badge/stars%20⭐-0-yellow)
![](https://img.shields.io/badge/days%20completed-0-red)
![Stars](https://img.shields.io/badge/stars%20⭐-0-yellow)
![Days Completed](https://img.shields.io/badge/days%20completed-0-red)

## All days

Expand Down

0 comments on commit d098fd7

Please sign in to comment.