feat(gh75): extract target branched from pr labels

This commit is contained in:
Andrea Lamparelli 2024-03-30 19:02:40 +01:00
parent b2e2e271b9
commit 2a162acb68
20 changed files with 523 additions and 83 deletions

View file

@ -331,7 +331,7 @@ describe("gha runner", () => {
body: "**Backport:** https://github.com/owner/reponame/pull/2368\r\n\r\nPlease review and merge",
reviewers: ["gh-user", "that-s-a-user"],
assignees: [],
labels: ["cherry-pick :cherries:", "another-label", "original-label"],
labels: ["cherry-pick :cherries:", "another-label", "backport prod"],
comments: [],
}
);
@ -422,7 +422,7 @@ describe("gha runner", () => {
body: "New Body Prefix - New Body",
reviewers: [],
assignees: ["user3", "user4"],
labels: ["gha github cherry pick :cherries:", "original-label"],
labels: ["gha github cherry pick :cherries:", "backport prod"],
comments: [],
}
);