Add files via upload #26
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update Markown TOC | |
on: | |
push: | |
paths: | |
- 'README.md' | |
jobs: | |
UpdateTOC: | |
name: UpdateTOC | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: TOC Generator | |
uses: technote-space/toc-generator@v3 | |
if: github.repository_owner == 'seigot' | |
with: | |
# 目次を更新するファイル | |
TARGET_PATHS: README.md | |
# 目次を作成する最大階層レベル | |
MAX_HEADER_LEVEL: 4 | |
GITHUB_TOKEN: ${{ secrets.SECRETS_UPDATE_TOC_ACCESS_TOKEN }} | |
# 目次の見出し | |
TOC_TITLE: '**Table of Contents**' |