File tree 3 files changed +5
-3
lines changed
3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -32,8 +32,9 @@ const (
32
32
type (
33
33
// Request defines an admission request.
34
34
Request struct {
35
- Event string `json:"event,omitempty"`
36
- User drone.User `json:"user,omitempty"`
35
+ Event string `json:"event,omitempty"`
36
+ User drone.User `json:"user,omitempty"`
37
+ Token drone.Token `json:"token,omitempty"`
37
38
}
38
39
39
40
// Plugin responds to a admission request.
Original file line number Diff line number Diff line change 29
29
Build drone.Build `json:"build,omitempty"`
30
30
Config drone.Config `json:"config,omitempty"`
31
31
Repo drone.Repo `json:"repo,omitempty"`
32
+ Token drone.Token `json:"token,omitempty"`
32
33
}
33
34
34
35
// Plugin responds to a converter request.
Original file line number Diff line number Diff line change 38
38
Build drone.Build `json:"build,omitempty"`
39
39
Config drone.Config `json:"config,omitempty"`
40
40
Repo drone.Repo `json:"repo,omitempty"`
41
- Token drone.Token `json:"token,omitempty"`
41
+ Token drone.Token `json:"token,omitempty"` // not implemented
42
42
}
43
43
44
44
// Plugin responds to a validator request.
You can’t perform that action at this time.
0 commit comments