Skip to content

Commit 7a07eb3

Browse files
authored
Fix formatting in TOC generator workflow
1 parent ba9836a commit 7a07eb3

1 file changed

Lines changed: 11 additions & 12 deletions

File tree

.github/workflows/toc.yml

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,28 @@
1-
name: TOC Generator
1+
name: "TOC Generator"
22

33
on:
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

1113
jobs:
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"

0 commit comments

Comments
 (0)