We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14b4da7 commit 0e7db9cCopy full SHA for 0e7db9c
.github/workflows/markdownlint.yml
.github/workflows/spellcheck.yml
.github/workflows/toc.yml
@@ -0,0 +1,20 @@
1
+name: Update TOC
2
+
3
+on: [push]
4
5
+jobs:
6
+ toc:
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - uses: actions/checkout@v4
10
+ - uses: actions/setup-node@v4
11
+ with:
12
+ node-version: "20"
13
+ - run: npm install -g markdown-toc
14
+ - run: markdown-toc -i README.md
15
+ - run: |
16
+ git config --global user.name "GitHub Actions"
17
+ git config --global user.email "actions@github.com"
18
+ git add README.md
19
+ git commit -m "Update TOC" || echo "No changes"
20
+ git push
0 commit comments