File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ class ActionParameters {
3737 /**
3838 * Trimming the commit message because it is used as a param in uri of deployment api. And sometimes, it exceeds the max length of http URI.
3939 */
40- this . _commitMessage = github . context . eventName === 'push' ? github . context . payload . head_commit . message . slice ( 0 , 7000 ) : "" ;
40+ this . _commitMessage = github . context . eventName === 'push' ? github . context . payload . head_commit . message . slice ( 0 , 1000 ) : "" ;
4141 this . _endpoint = endpoint ;
4242 }
4343 static getActionParams ( endpoint ) {
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ export class ActionParameters {
4848 /**
4949 * Trimming the commit message because it is used as a param in uri of deployment api. And sometimes, it exceeds the max length of http URI.
5050 */
51- this . _commitMessage = github . context . eventName === 'push' ? github . context . payload . head_commit . message . slice ( 0 , 7000 ) : "" ;
51+ this . _commitMessage = github . context . eventName === 'push' ? github . context . payload . head_commit . message . slice ( 0 , 1000 ) : "" ;
5252 this . _endpoint = endpoint ;
5353 }
5454
You can’t perform that action at this time.
0 commit comments