feat: update the default comment on error

This commit is contained in:
Andrea Lamparelli 2024-04-10 22:34:29 +02:00
parent 7c420531c8
commit 8b0412b111
10 changed files with 75 additions and 29 deletions

View file

@ -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."
});
});
});

View file

@ -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.",
});
});
});