Skip to content

Commit 00f3aa8

Browse files
Merge pull request #11 from technote-space/chore/chore-sync-workflows
chore: sync workflows
2 parents 4a33c5b + 829b63f commit 00f3aa8

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflow-settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@
1313
"TOC_FOLDING": "1",
1414
"TOC_MAX_HEADER_LEVEL": "3",
1515
"TOC_TITLE": "Details",
16+
"TOC_CREATE_PR": "true",
1617
"BRANCH_PREFIX": "release/"
17-
}
18+
}

.github/workflows/toc.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,10 @@ jobs:
1212
- uses: technote-space/load-config-action@v1
1313
with:
1414
CONFIG_FILENAME: workflow-settings.json
15-
- uses: technote-space/toc-generator@v2
15+
- uses: technote-space/toc-generator@v3
1616
with:
1717
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
1818
FOLDING: ${{ env.TOC_FOLDING }}
1919
MAX_HEADER_LEVEL: ${{ env.TOC_MAX_HEADER_LEVEL }}
2020
TOC_TITLE: ${{ env.TOC_TITLE }}
21+
CREATE_PR: ${{ env.TOC_CREATE_PR }}

0 commit comments

Comments
 (0)