-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TF-10829] add new organization setting option #829
Conversation
d855e08
to
5521b56
Compare
ba73bfc
to
d78cde0
Compare
organization.go
Outdated
@@ -213,6 +215,9 @@ type OrganizationCreateOptions struct { | |||
// Optional: SendPassingStatusesForUntriggeredSpeculativePlans toggles behavior of untriggered speculative plans to send status updates to version control systems like GitHub. | |||
SendPassingStatusesForUntriggeredSpeculativePlans *bool `jsonapi:"attr,send-passing-statuses-for-untriggered-speculative-plans,omitempty"` | |||
|
|||
// Optional: If enabled, SendPassingStatusesForUntriggeredSpeculativePlans needs to be false. | |||
AggregatedCommitStatusEnabled *bool `jsonapi:"attr,aggregated-commit-status-enabled"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, these Update/Create options should continue to be omitempty, because in this case the empty (nil) pointer omits the attribute!
d78cde0
to
c6bfc1f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
c6bfc1f
to
9a72fd3
Compare
Reminder to the contributor that merged this PR: if your changes have added important functionality or fixed a relevant bug, open a follow-up PR to update CHANGELOG.md with a note on your changes. |
Description
Adds new Organization field to expose enablement/disablement of the new VCS status check setting.
External links
Output from tests
Including output from tests may require access to a TFE instance. Ignore this section if you have no environment to test against.