From 3f225832a2efa9e881a77abf7f85675f38203f73 Mon Sep 17 00:00:00 2001 From: Michael Yocca Date: Thu, 5 Dec 2024 11:11:16 -0800 Subject: [PATCH 1/2] feat(stacks): Add trigger disabled attribute to StackVCSRepo --- stack.go | 1 + 1 file changed, 1 insertion(+) diff --git a/stack.go b/stack.go index 8e365c7c2..de4ab45fa 100644 --- a/stack.go +++ b/stack.go @@ -73,6 +73,7 @@ type StackVCSRepo struct { Branch string `jsonapi:"attr,branch,omitempty"` GHAInstallationID string `jsonapi:"attr,github-app-installation-id,omitempty"` OAuthTokenID string `jsonapi:"attr,oauth-token-id,omitempty"` + TriggerDisabled bool `jsonapi:"attr,trigger-disabled"` } // StackVCSRepoOptions From a55996058c4b88e2ad6cc159cd807f7928cd71d9 Mon Sep 17 00:00:00 2001 From: Michael Yocca Date: Tue, 18 Mar 2025 13:41:44 -0700 Subject: [PATCH 2/2] chore: add changelog entry --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9ed0a8f22..ad281c11c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Unreleased +## Enhancements +* Adds`TriggerDisabled` field to `stack` struct to enable a stack to opt-in/opt-out of webhook processing by @mjyocca [#1017](https://github.com/hashicorp/go-tfe/pull/1017) + ## BREAKING CHANGES In the last release, Runs interface method `ListForOrganization` included pagination fields `TotalCount` and `TotalPages`, but these are being removed as this feature approaches general availablity by @brandonc [#1074](https://github.com/hashicorp/go-tfe/pull/1074)