Skip to content

Update Readme TOC

Update Readme TOC #26

Workflow file for this run

name: Update Readme TOC
on:
# push:
# branches: [ "main" ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: install dependencies
run: pip install loguru
- name: Recreate README.md TOC
run: python scripts/update_readme.py
- name: Commit files
run: |
git config --global user.email "fexofenadine@users.noreply.github.com"
git config --global user.name "fexofenadine"
git add README.md
git add tags/*
git commit -a -m "Updated TOC"
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
force: true