Skip to content

feat: add 2023 day 6 part 2 #80

feat: add 2023 day 6 part 2

feat: add 2023 day 6 part 2 #80

name: Update README
on:
push:
branches:
- master
paths:
- 'src/adventofcode/year_*/**'
- 'src/adventofcode/scripts/generate_readme.py'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.12"
- name: Install package
run: |
python -m pip install --upgrade pip
pip install -e .
- name: Generate new README
run: generate-readme
- name: Commit new README
run: |
git config --global user.name 'Marcel Blijleven'
git config --global user.email '[email protected]'
[[ -n $(git status -s) ]] && git add -A && git commit -m "docs: update README"
git push