mirror of
https://github.com/kiegroup/git-backporting.git
synced 2025-07-21 14:08:19 +02:00
feat: update the default comment on error
This commit is contained in:
parent
7c420531c8
commit
8b0412b111
10 changed files with 75 additions and 29 deletions
|
@ -141,7 +141,7 @@ describe("github pull request config parser", () => {
|
|||
});
|
||||
expect(configs.errorNotification).toEqual({
|
||||
enabled: false,
|
||||
message: "Backporting failed: {{error}}"
|
||||
message: "The backport to `{{target-branch}}` failed. Check the latest run for more details."
|
||||
});
|
||||
});
|
||||
|
||||
|
@ -962,7 +962,7 @@ describe("github pull request config parser", () => {
|
|||
|
||||
expect(configs.errorNotification).toEqual({
|
||||
"enabled": true,
|
||||
"message": "Backporting failed: {{error}}"
|
||||
"message": "The backport to `{{target-branch}}` failed. Check the latest run for more details."
|
||||
});
|
||||
});
|
||||
});
|
|
@ -146,7 +146,7 @@ describe("gitlab merge request config parser", () => {
|
|||
});
|
||||
expect(configs.errorNotification).toEqual({
|
||||
"enabled": false,
|
||||
"message": "Backporting failed: {{error}}"
|
||||
"message": "The backport to `{{target-branch}}` failed. Check the latest run for more details."
|
||||
});
|
||||
});
|
||||
|
||||
|
@ -905,7 +905,7 @@ describe("gitlab merge request config parser", () => {
|
|||
|
||||
expect(configs.errorNotification).toEqual({
|
||||
"enabled": true,
|
||||
"message": "Backporting failed: {{error}}",
|
||||
"message": "The backport to `{{target-branch}}` failed. Check the latest run for more details.",
|
||||
});
|
||||
});
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue