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 13
13
"TOC_FOLDING" : " 1" ,
14
14
"TOC_MAX_HEADER_LEVEL" : " 3" ,
15
15
"TOC_TITLE" : " Details" ,
16
+ "TOC_CREATE_PR" : " true" ,
16
17
"BRANCH_PREFIX" : " release/"
17
- }
18
+ }
Original file line number Diff line number Diff line change 28
28
env :
29
29
HEAD_REF : ${{ github.head_ref }}
30
30
if : startsWith(github.head_ref, 'release/v')
31
- - uses : actions/github-script@0.4.0
31
+ - uses : actions/github-script@v3
32
32
with :
33
33
github-token : ${{ secrets.ACCESS_TOKEN }}
34
34
script : |
39
39
sha: context.sha
40
40
})
41
41
if : env.NEXT_VERSION
42
- - uses : actions/github-script@0.4.0
42
+ - uses : actions/github-script@v3
43
43
with :
44
44
github-token : ${{ secrets.ACCESS_TOKEN }}
45
45
script : |
Original file line number Diff line number Diff line change @@ -139,6 +139,11 @@ jobs:
139
139
NPM_AUTH_TOKEN : ${{ secrets.NPM_AUTH_TOKEN }}
140
140
- uses : actions/checkout@v2
141
141
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
142
147
- name : Set running flag
143
148
run : npx can-npm-publish || echo "RUNNING=" >> $GITHUB_ENV
144
149
if : env.RUNNING && matrix.target == 'npm'
@@ -177,11 +182,6 @@ jobs:
177
182
restore-keys : |
178
183
${{ runner.os }}-yarn-
179
184
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
185
185
- name : Install Package dependencies
186
186
run : yarn install
187
187
if : env.RUNNING
@@ -235,7 +235,7 @@ jobs:
235
235
timeout-minutes : 3
236
236
if : always()
237
237
steps :
238
- - uses : technote-space/workflow-conclusion-action@v1
238
+ - uses : technote-space/workflow-conclusion-action@v2
239
239
- uses : 8398a7/action-slack@v3
240
240
with :
241
241
status : failure
Original file line number Diff line number Diff line change @@ -14,10 +14,11 @@ jobs:
14
14
- uses : technote-space/load-config-action@v1
15
15
with :
16
16
CONFIG_FILENAME : workflow-settings.json
17
- - uses : technote-space/toc-generator@v2
17
+ - uses : technote-space/toc-generator@v3
18
18
with :
19
19
GITHUB_TOKEN : ${{ secrets.ACCESS_TOKEN }}
20
20
TARGET_BRANCH_PREFIX : ${{ env.BRANCH_PREFIX }}
21
21
FOLDING : ${{ env.TOC_FOLDING }}
22
22
MAX_HEADER_LEVEL : ${{ env.TOC_MAX_HEADER_LEVEL }}
23
23
TOC_TITLE : ${{ env.TOC_TITLE }}
24
+ CREATE_PR : ${{ env.TOC_CREATE_PR }}
You can’t perform that action at this time.
0 commit comments