Skip to content

Work on README.md. Fix in workflow: If opening <h[1-6]> is on the end… #117

Work on README.md. Fix in workflow: If opening <h[1-6]> is on the end…

Work on README.md. Fix in workflow: If opening <h[1-6]> is on the end… #117

Workflow file for this run

on:
push:
branches: [master]
paths: ['README.md']
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v2
- run: |
curl https://raw.githubusercontent.com/VolkerChristian/github-markdown-toc/master/gh-md-toc -o gh-md-toc
chmod a+x gh-md-toc
./gh-md-toc --insert --no-backup README.md
rm gh-md-toc
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Auto update markdown TOC