We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3fda9e7 + 4708dcb commit 24279ccCopy full SHA for 24279cc
gitlab/payload.go
@@ -177,10 +177,18 @@ type Build struct {
177
When string `json:"when"`
178
Manual bool `json:"manual"`
179
User User `json:"user"`
180
- Runner string `json:"runner"`
+ Runner Runner `json:"runner"`
181
ArtifactsFile ArtifactsFile `json:"artifactsfile"`
182
}
183
184
+// Runner represents a runner agent
185
+type Runner struct {
186
+ ID int64 `json:"id"`
187
+ Description string `json:"description"`
188
+ Active bool `json:"active"`
189
+ IsShared bool `json:"is_shared"`
190
+}
191
+
192
// ArtifactsFile contains all of the GitLab artifact information
193
type ArtifactsFile struct {
194
Filename string `json:"filename"`
0 commit comments