Skip to content

Update AoC Badges

Update AoC Badges #5

Workflow file for this run

name: Update AoC Badges
on:
schedule: # run workflow based on schedule
- cron: '6 5 1-25 12 *' # from the 1. December till 25. December every day at 5:06am (avoid load at full hours)
workflow_dispatch: # allow to manually start the workflow
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4 # clones your repo
- uses: joblo2213/aoc-badges-action@v3
with:
userid: 462507 # your user id, see setup on how to obtain
session: ${{ secrets.AOC_SESSION }} # secret containing session code, see setup on how to obtain
leaderboard: 'https://adventofcode.com/2023/leaderboard/private/view/1724166' # The url of the leaderboard from witch the data is fetched. Typically your private leaderboard.
- uses: stefanzweifel/git-auto-commit-action@v4 # Step that pushes these local changes back to your github repo
with:
commit_message: Update badges
file_pattern: README.md