diff --git a/README.md b/README.md index 5da4924..fb187e9 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@

A+ -good first +good first diff --git a/README_zh-CN.md b/README_zh-CN.md index dd9f45c..321f26f 100644 --- a/README_zh-CN.md +++ b/README_zh-CN.md @@ -10,7 +10,7 @@

A+ -good first +good first diff --git a/pkg/exporter/label.go b/pkg/exporter/label.go index 6e7a081..26a7ca6 100644 --- a/pkg/exporter/label.go +++ b/pkg/exporter/label.go @@ -25,6 +25,7 @@ URL: https://api.github.com/repos/Kubernetes/Kubernetes/labels?page=1&sort=nam "description": "Categorizes an issue or PR as actively needing an API review." }, */ + type Label struct { // The name of the label. Name string `json:"name"` @@ -61,6 +62,10 @@ func (c *githubClient) ListLabels(ctx context.Context, owner, repo string) ([]*L Name: l.GetName(), Description: l.GetDescription(), Color: l.GetColor(), + Default: l.GetDefault(), + ID: l.GetID(), + NodeID: l.GetNodeID(), + URL: l.GetURL(), }) } if resp.NextPage == 0 {