File tree Expand file tree Collapse file tree 4 files changed +12
-10
lines changed Expand file tree Collapse file tree 4 files changed +12
-10
lines changed Original file line number Diff line number Diff line change 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+ }
Original file line number Diff line number Diff line change 2828 env :
2929 HEAD_REF : ${{ github.head_ref }}
3030 if : startsWith(github.head_ref, 'release/v')
31- - uses : actions/github-script@0.4.0
31+ - uses : actions/github-script@v3
3232 with :
3333 github-token : ${{ secrets.ACCESS_TOKEN }}
3434 script : |
3939 sha: context.sha
4040 })
4141 if : env.NEXT_VERSION
42- - uses : actions/github-script@0.4.0
42+ - uses : actions/github-script@v3
4343 with :
4444 github-token : ${{ secrets.ACCESS_TOKEN }}
4545 script : |
Original file line number Diff line number Diff line change @@ -139,6 +139,11 @@ jobs:
139139 NPM_AUTH_TOKEN : ${{ secrets.NPM_AUTH_TOKEN }}
140140 - uses : actions/checkout@v2
141141 if : env.RUNNING
142+ - name : Check package version
143+ uses : technote-space/package-version-check-action@v1
144+ with :
145+ COMMIT_DISABLED : 1
146+ if : env.RUNNING
142147 - name : Set running flag
143148 run : npx can-npm-publish || echo "RUNNING=" >> $GITHUB_ENV
144149 if : env.RUNNING && matrix.target == 'npm'
@@ -177,11 +182,6 @@ jobs:
177182 restore-keys : |
178183 ${{ runner.os }}-yarn-
179184 if : env.RUNNING
180- - name : Check package version
181- uses : technote-space/package-version-check-action@v1
182- with :
183- COMMIT_DISABLED : 1
184- if : env.RUNNING
185185 - name : Install Package dependencies
186186 run : yarn install
187187 if : env.RUNNING
@@ -235,7 +235,7 @@ jobs:
235235 timeout-minutes : 3
236236 if : always()
237237 steps :
238- - uses : technote-space/workflow-conclusion-action@v1
238+ - uses : technote-space/workflow-conclusion-action@v2
239239 - uses : 8398a7/action-slack@v3
240240 with :
241241 status : failure
Original file line number Diff line number Diff line change @@ -14,10 +14,11 @@ jobs:
1414 - uses : technote-space/load-config-action@v1
1515 with :
1616 CONFIG_FILENAME : workflow-settings.json
17- - uses : technote-space/toc-generator@v2
17+ - uses : technote-space/toc-generator@v3
1818 with :
1919 GITHUB_TOKEN : ${{ secrets.ACCESS_TOKEN }}
2020 TARGET_BRANCH_PREFIX : ${{ env.BRANCH_PREFIX }}
2121 FOLDING : ${{ env.TOC_FOLDING }}
2222 MAX_HEADER_LEVEL : ${{ env.TOC_MAX_HEADER_LEVEL }}
2323 TOC_TITLE : ${{ env.TOC_TITLE }}
24+ CREATE_PR : ${{ env.TOC_CREATE_PR }}
You can’t perform that action at this time.
0 commit comments