mirror of
https://github.com/go-gitea/gitea
synced 2024-12-24 00:05:59 +01:00
fff66eb016
* API: fix set milestone on PR creation pr creation via API failed with 404, because we searched for milestoneID 0, due to uninitialized var usage D: * add tests Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: 6543 <6543@obermui.de>
44 lines
562 B
YAML
44 lines
562 B
YAML
-
|
|
id: 1
|
|
repo_id: 1
|
|
org_id: 0
|
|
name: label1
|
|
color: '#abcdef'
|
|
num_issues: 2
|
|
num_closed_issues: 0
|
|
|
|
-
|
|
id: 2
|
|
repo_id: 1
|
|
org_id: 0
|
|
name: label2
|
|
color: '#000000'
|
|
num_issues: 1
|
|
num_closed_issues: 1
|
|
-
|
|
id: 3
|
|
repo_id: 0
|
|
org_id: 3
|
|
name: orglabel3
|
|
color: '#abcdef'
|
|
num_issues: 0
|
|
num_closed_issues: 0
|
|
|
|
-
|
|
id: 4
|
|
repo_id: 0
|
|
org_id: 3
|
|
name: orglabel4
|
|
color: '#000000'
|
|
num_issues: 1
|
|
num_closed_issues: 0
|
|
|
|
-
|
|
id: 5
|
|
repo_id: 10
|
|
org_id: 0
|
|
name: pull-test-label
|
|
color: '#000000'
|
|
num_issues: 0
|
|
num_closed_issues: 0
|