Skip to content

Commit 8ec6c5c

Browse files
authored
Update GH Workflow TOC Generator
The TOC Generator sometimes tries to run against branches that no longer exist. This config update should have it only check the main branch. This update also has the TOC Generator create a PR for readme changes instead of pushing them directly.
1 parent 62c7371 commit 8ec6c5c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/toc.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,7 @@ jobs:
66
runs-on: ubuntu-latest
77
steps:
88
- uses: technote-space/toc-generator@v4
9+
with:
10+
CREATE_PR: true
11+
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
12+
CHECK_ONLY_DEFAULT_BRANCH: true

0 commit comments

Comments
 (0)