File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -6013,6 +6013,8 @@ async function run() {
6013
6013
const docs_path = core . getInput ( "docs_path" ) ;
6014
6014
const pkg_path = core . getInput ( "pkg_path" ) ;
6015
6015
6016
+ console . log ( token . length ) ;
6017
+
6016
6018
const octokit = github . getOctokit ( token ) ;
6017
6019
6018
6020
const dispatchResp = await octokit . rest . actions . createWorkflowDispatch ( {
@@ -6029,7 +6031,7 @@ async function run() {
6029
6031
} ) ;
6030
6032
core . info ( `API response status: ${ dispatchResp . status } 🚀` ) ;
6031
6033
} catch ( error ) {
6032
- core . setFailed ( error . message ) ;
6034
+ throw error ;
6033
6035
}
6034
6036
}
6035
6037
Original file line number Diff line number Diff line change @@ -9,6 +9,8 @@ async function run(): Promise<void> {
9
9
const docs_path = core . getInput ( "docs_path" ) ;
10
10
const pkg_path = core . getInput ( "pkg_path" ) ;
11
11
12
+ console . log ( token . length ) ;
13
+
12
14
const octokit = github . getOctokit ( token ) ;
13
15
14
16
const dispatchResp = await octokit . rest . actions . createWorkflowDispatch ( {
@@ -25,6 +27,7 @@ async function run(): Promise<void> {
25
27
} ) ;
26
28
core . info ( `API response status: ${ dispatchResp . status } 🚀` ) ;
27
29
} catch ( error ) {
30
+ throw error ;
28
31
core . setFailed ( error . message ) ;
29
32
}
30
33
}
You can’t perform that action at this time.
0 commit comments