Merge branch 'main' into bc/anthropic_input_tokens #52
This file contains hidden or 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: Generate TOC | |
| on: | |
| push: | |
| paths: | |
| - 'README.md' | |
| - 'README_ZH.md' | |
| branches-ignore: | |
| - 'main' | |
| # Prevent concurrent runs that modify README files | |
| concurrency: | |
| group: readme-updates-${{ github.ref }} | |
| cancel-in-progress: false | |
| jobs: | |
| generateTOC: | |
| name: TOC Generator | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: technote-space/toc-generator@v4 | |
| with: | |
| TOC_TITLE: "## 📑 Table of Contents" | |
| CREATE_PR: false | |
| TARGET_PATHS: "README.md,README_ZH.md" | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| TOC_TITLE_MAP: | | |
| README.md: ## 📑 Table of Contents | |
| README_ZH.md: ## 📑 目录 |