Skip to content

chore(docs): update TOC #40

chore(docs): update TOC

chore(docs): update TOC #40

Workflow file for this run

name: Update Table of Contents
on:
push:
branches:
- main
workflow_dispatch:
jobs:
update-toc:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
with:
token: ${{ secrets.TOC_UPDATE_TOKEN }} # Use the PAT for authentication
- name: Update ToC
uses: technote-space/toc-generator@v4
with:
INSERT_TO: README.md
BASE_BRANCH: main
COMMIT_MSG: 'chore: update TOC'
GITHUB_TOKEN: ${{ secrets.TOC_UPDATE_TOKEN }} # Use the PAT for authentication
env:
TOC_TITLE: '## Table of Contents'