We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a19190 commit 3ac042aCopy full SHA for 3ac042a
open-bot.yaml
@@ -80,14 +80,28 @@ rules:
80
- "^[\\s\\S]+?\\d+\\s+pending\n+"
81
- "npm ERR!.*\n"
82
- "\n*=============================================================================\n[\\s\\S]*"
83
+ string_cleanup:
84
+ id: firstError
85
+ value: "{{{logResult}}}"
86
+ remove:
87
+ - "^[\\s\\S]+?(?=\\s2\\)\\s)"
88
89
+ id: remainingErrors
90
91
92
+ - "\\s2\\)\\s[\\s\\S]*"
93
actions:
94
comment:
95
identifier: "ci-result"
96
message: |-
97
@{{commit.author.login}} Please review the following output log for errors:
98
+ ```text
99
+ {{{firstError}}}
100
+ ```
101
<details>
102
+ <summary>Show remaining errors</summary>
103
``` text
- {{{logResult}}}
104
+ {{{remainingErrors}}}
105
```
106
</details>
107
0 commit comments