Skip to content

Update photo for NFC sticker #19

Update photo for NFC sticker

Update photo for NFC sticker #19

name: auto-toc-update

Check failure on line 1 in .github/workflows/auto_toc_update.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/auto_toc_update.yml

Invalid workflow file

(Line: 18, Col: 9): There's not enough info to determine what you meant. Add one of these properties: run, shell, uses, with, working-directory
on:
push:
branches:
- "main"
paths:
- "**.md"
- "**.yml"
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Update TOC
- uses: actions/checkout@v3
- run: |
curl https://raw.githubusercontent.com/ekalinin/github-markdown-toc/master/gh-md-toc -o gh-md-toc
chmod a+x gh-md-toc
for file in $(find . -type f -name "*.md"); do
./gh-md-toc --insert --no-backup --hide-footer --skip-header $file
done
rm gh-md-toc
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Auto update markdown TOC