File tree 1 file changed +17
-2
lines changed
1 file changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -80,15 +80,30 @@ rules:
80
80
- " ^[\\ s\\ S]+?\\ d+\\ s+pending\n +"
81
81
- " npm ERR!.*\n "
82
82
- " \n *=============================================================================\n [\\ s\\ S]*"
83
+ string_cleanup :
84
+ id : firstError
85
+ value : " {{{logResult}}}"
86
+ remove :
87
+ - " \\ s2\\ )\\ s[\\ s\\ S]*"
88
+ string_cleanup :
89
+ id : remainingErrors
90
+ value : " {{{logResult}}}"
91
+ remove :
92
+ - " ^[\\ s\\ S]+?(?=\\ s2\\ )\\ s)"
83
93
actions :
84
94
comment :
85
95
identifier : " ci-result"
86
96
message : |-
87
97
@{{commit.author.login}} Please review the following output log for errors:
88
-
98
+ ```text
99
+ {{{firstError}}}
100
+ ```
101
+ <details>
102
+ <summary>Show remaining errors</summary>
89
103
``` text
90
- {{{logResult }}}
104
+ {{{remainingErrors }}}
91
105
```
106
+ </details>
92
107
93
108
See [complete report here]({{status.target_url}}).
94
109
set :
You can’t perform that action at this time.
0 commit comments