Skip to content

Merge pull request #2191 from lycheeverse/dependabot/github_actions/d… #772

Merge pull request #2191 from lycheeverse/dependabot/github_actions/d…

Merge pull request #2191 from lycheeverse/dependabot/github_actions/d… #772

Workflow file for this run

name: Update Table of Contents
on:
push:
jobs:
update-toc:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Generate Table of Contents
uses: technote-space/toc-generator@v4
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TARGET_PATHS: README.md
TOC_TITLE: "## Table of Contents"
MAX_HEADER_LEVEL: 2