mirror of
https://code.forgejo.org/actions/git-backporting.git
synced 2025-05-16 10:39:13 -04:00
feat(gh75): extract target branched from pr labels
This commit is contained in:
parent
b2e2e271b9
commit
2a162acb68
20 changed files with 523 additions and 83 deletions
|
@ -96,8 +96,8 @@ export const MERGED_PR_FIXTURE = {
|
|||
{
|
||||
"id": 4901021057,
|
||||
"node_id": "LA_kwDOImgs2354988AAAABJB-lgQ",
|
||||
"url": "https://api.github.com/repos/owner/reponame/labels/original-label",
|
||||
"name": "original-label",
|
||||
"url": "https://api.github.com/repos/owner/reponame/labels/backport-prod",
|
||||
"name": "backport prod",
|
||||
"color": "AB975B",
|
||||
"default": false,
|
||||
"description": ""
|
||||
|
@ -1431,7 +1431,33 @@ export const MULT_COMMITS_PR_FIXTURE = {
|
|||
|
||||
],
|
||||
"labels": [
|
||||
|
||||
{
|
||||
"id": 4901021057,
|
||||
"node_id": "LA_kwDOImgs2354988AAAABJB-lgQ",
|
||||
"url": "https://api.github.com/repos/owner/reponame/labels/backport-v1",
|
||||
"name": "backport v1",
|
||||
"color": "AB975B",
|
||||
"default": false,
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"id": 4901021057,
|
||||
"node_id": "LA_kwDOImgs2354988AAAABJB-lgQ",
|
||||
"url": "https://api.github.com/repos/owner/reponame/labels/backport-v2",
|
||||
"name": "backport v2",
|
||||
"color": "AB975B",
|
||||
"default": false,
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"id": 4901021057,
|
||||
"node_id": "LA_kwDOImgs2354988AAAABJB-lgQ",
|
||||
"url": "https://api.github.com/repos/owner/reponame/labels/backport-v3",
|
||||
"name": "backport v3",
|
||||
"color": "AB975B",
|
||||
"default": false,
|
||||
"description": ""
|
||||
}
|
||||
],
|
||||
"milestone": null,
|
||||
"draft": false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue