Skip to content

Commit 8d31dec

Browse files
feat(ci): Add organization-level setting for AI commit messages
1 parent 4e410b4 commit 8d31dec

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 20
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/stainless%2Fstainless-v0-6783cf45e0ea6644994eae08c41f755e29948bee313a6c2aaf5b710253eb4eaa.yml
3-
openapi_spec_hash: b37f9ad1ca6bce774c6448b28d267bec
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/stainless%2Fstainless-v0-14899ed94f51eb27170c1618fcdb134c6df08db90996eeec2f620eb8d84c604a.yml
3+
openapi_spec_hash: a4cf6948697a56d5b07ad48ef133093b
44
config_hash: f1b8a43873719fc8f2789008f3aa2260

org.go

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,17 +56,19 @@ func (r *OrgService) List(ctx context.Context, opts ...option.RequestOption) (re
5656
}
5757

5858
type Org struct {
59-
DisplayName string `json:"display_name,required"`
59+
DisplayName string `json:"display_name,required"`
60+
EnableAICommitMessages bool `json:"enable_ai_commit_messages,required"`
6061
// Any of "org".
6162
Object OrgObject `json:"object,required"`
6263
Slug string `json:"slug,required"`
6364
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
6465
JSON struct {
65-
DisplayName respjson.Field
66-
Object respjson.Field
67-
Slug respjson.Field
68-
ExtraFields map[string]respjson.Field
69-
raw string
66+
DisplayName respjson.Field
67+
EnableAICommitMessages respjson.Field
68+
Object respjson.Field
69+
Slug respjson.Field
70+
ExtraFields map[string]respjson.Field
71+
raw string
7072
} `json:"-"`
7173
}
7274

0 commit comments

Comments
 (0)