File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : TOC Generator
1+ name : " TOC Generator"
22
33on :
44 push :
5- # run on pushes to default branch; adjust if you prefer e.g. pull_request
65 branches :
76 - main
87 pull_request :
9- types : [opened, synchronize, reopened]
8+ types :
9+ - opened
10+ - synchronize
11+ - reopened
1012
1113jobs :
1214 generateTOC :
13- name : Generate/Update TOC
15+ name : " Generate/Update TOC"
1416 runs-on : ubuntu-latest
1517 steps :
16- - name : Checkout repository
18+ - name : " Checkout repository"
1719 uses : actions/checkout@v4
1820 with :
1921 fetch-depth : 0
2022
21- - name : Run TOC Generator (technote-space/toc-generator)
23+ - name : " Run TOC Generator (technote-space/toc-generator)"
2224 uses : technote-space/toc-generator@v4
2325 with :
24- # target files to update (comma separated)
25- TARGET_PATH : README.md
26- # commit changes directly on push; set CREATE_PR:true to create PR instead
27- CREATE_PR : false
28- # set the commit message the action will use when updating README
29- COMMIT_MESSAGE : chore(docs): update Table of Contents
26+ TARGET_PATH : " README.md"
27+ CREATE_PR : " false"
28+ COMMIT_MESSAGE : " chore(docs): update Table of Contents"
You can’t perform that action at this time.
0 commit comments