Day5 2024 finished #10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update 2024 AoC Badges | |
on: | |
workflow_dispatch: | |
push: | |
paths: | |
- 2024/** | |
jobs: | |
update: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: joblo2213/aoc-badges-action@v3 | |
with: | |
userid: 208492 | |
session: ${{ secrets.AOC_SESSION }} | |
year: 2024 | |
leaderboard: "https://adventofcode.com/2024/leaderboard/private/view/208492.json" | |
file: "2024/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: "2024/README.md" |