lychee/.github/workflows/toc-generator.yml
dependabot[bot] 4ebb475a80
Bump the dependencies group with 1 update (#1254)
Bumps the dependencies group with 1 update: [actions/checkout](https://github.com/actions/checkout).

- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-17 21:42:18 +02:00

22 lines
457 B
YAML

name: Update Table of Contents
on:
push:
branches:
- master
jobs:
update-toc:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- 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