File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed
Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -80,14 +80,28 @@ rules:
8080 - " ^[\\ s\\ S]+?\\ d+\\ s+pending\n +"
8181 - " npm ERR!.*\n "
8282 - " \n *=============================================================================\n [\\ s\\ S]*"
83+ string_cleanup :
84+ id : firstError
85+ value : " {{{logResult}}}"
86+ remove :
87+ - " ^[\\ s\\ S]+?(?=\\ s2\\ )\\ s)"
88+ string_cleanup :
89+ id : remainingErrors
90+ value : " {{{logResult}}}"
91+ remove :
92+ - " \\ s2\\ )\\ s[\\ s\\ S]*"
8393 actions :
8494 comment :
8595 identifier : " ci-result"
8696 message : |-
8797 @{{commit.author.login}} Please review the following output log for errors:
98+ ```text
99+ {{{firstError}}}
100+ ```
88101 <details>
102+ <summary>Show remaining errors</summary>
89103 ``` text
90- {{{logResult }}}
104+ {{{remainingErrors }}}
91105 ```
92106 </details>
93107
You can’t perform that action at this time.
0 commit comments