aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/github/import_query.go
diff options
context:
space:
mode:
Diffstat (limited to 'bridge/github/import_query.go')
-rw-r--r--bridge/github/import_query.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/bridge/github/import_query.go b/bridge/github/import_query.go
index 4d5886f6..6c0db5e1 100644
--- a/bridge/github/import_query.go
+++ b/bridge/github/import_query.go
@@ -168,3 +168,11 @@ type userQuery struct {
Email githubv4.String
} `graphql:"user(login: $login)"`
}
+
+type labelQuery struct {
+ Repository struct {
+ Label struct {
+ ID string `graphql:"id"`
+ } `graphql:"label(name: $name)"`
+ } `graphql:"repository(owner: $owner, name: $name)"`
+}