Skip to content

Update AoC Badges

Update AoC Badges #1

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@v2 # clones your repo
- uses: joblo2213/aoc-badges-action@v3
with:
userid: k20shores
session: ${{ secrets.AOC_SESSION }} # secret containing session code, see setup on how to obtain
year: 2023
- 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