Skip to content

Update AoC Badges

Update AoC Badges #14

Workflow file for this run

name: Update AoC Badges
on:
schedule:
- cron: '6 5 1-25 12 *'
workflow_dispatch:
jobs:
update:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v2 # clones your repo
- uses: joblo2213/aoc-badges-action@v3
with:
userid: 2496482 # your user id, see setup on how to obtain
session: ${{ secrets.AOC_SESSION }} # secret containing session code, see setup on how to obtain
year: 2024
- 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