@@ -35,24 +35,24 @@ type SpecTemplate struct {
3535}
3636
3737type Trigger struct {
38- Name string `json:"name,omitempty"`
39- Description string `json:"description,omitempty"`
40- Type string `json:"type,omitempty"`
41- Repo string `json:"repo,omitempty"`
42- Events []string `json:"events,omitempty"`
43- BranchRegex string `json:"branchRegex,omitempty"`
44- BranchRegexInput string `json:"branchRegexInput,omitempty"`
45- PullRequestTargetBranchRegex string `json:"pullRequestTargetBranchRegex,omitempty"`
46- CommentRegex string `json:"commentRegex,omitempty"`
47- ModifiedFilesGlob string `json:"modifiedFilesGlob,omitempty"`
48- Provider string `json:"provider,omitempty"`
49- Disabled bool `json:"disabled,omitempty"`
50- PullRequestAllowForkEvents bool `json:"pullRequestAllowForkEvents,omitempty"`
51- CommitStatusTitle string `json:"commitStatusTitle,omitempty"`
52- Context string `json:"context,omitempty"`
53- Contexts []string `json:"contexts,omitempty"`
54- RuntimeEnvironment RuntimeEnvironment `json:"runtimeEnvironment,omitempty"`
55- Variables []Variable `json:"variables,omitempty"`
38+ Name string `json:"name,omitempty"`
39+ Description string `json:"description,omitempty"`
40+ Type string `json:"type,omitempty"`
41+ Repo string `json:"repo,omitempty"`
42+ Events []string `json:"events,omitempty"`
43+ BranchRegex string `json:"branchRegex,omitempty"`
44+ BranchRegexInput string `json:"branchRegexInput,omitempty"`
45+ PullRequestTargetBranchRegex string `json:"pullRequestTargetBranchRegex,omitempty"`
46+ CommentRegex string `json:"commentRegex,omitempty"`
47+ ModifiedFilesGlob string `json:"modifiedFilesGlob,omitempty"`
48+ Provider string `json:"provider,omitempty"`
49+ Disabled bool `json:"disabled,omitempty"`
50+ PullRequestAllowForkEvents bool `json:"pullRequestAllowForkEvents,omitempty"`
51+ CommitStatusTitle string `json:"commitStatusTitle,omitempty"`
52+ Context string `json:"context,omitempty"`
53+ Contexts []string `json:"contexts,omitempty"`
54+ RuntimeEnvironment * RuntimeEnvironment `json:"runtimeEnvironment,omitempty"`
55+ Variables []Variable `json:"variables,omitempty"`
5656}
5757
5858type RuntimeEnvironment struct {
0 commit comments