diff --git a/CHANGELOG.md b/CHANGELOG.md index 7b9d8517b..f7b5d1808 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -29,6 +29,10 @@ Given a version number `MAJOR.MINOR.PATCH`, we increment the: - The `--include-output-dependencies` flag includes the output dependencies in the execution order. - The `--only-output-dependencies` flag only includes the output dependencies in the execution order. +### Fixed + +- Fix the sync of `base_branch` information in the Terramate Cloud deployment. + ## v0.11.7 ### Fixed diff --git a/cmd/terramate/cli/cloud.go b/cmd/terramate/cli/cloud.go index 4c33968ad..834c92aaa 100644 --- a/cmd/terramate/cli/cloud.go +++ b/cmd/terramate/cli/cloud.go @@ -1123,8 +1123,8 @@ func (c *cli) newBitbucketReviewRequest(pr *bitbucket.PR) *cloud.ReviewRequest { Login: pr.Author.DisplayName, AvatarURL: pr.Author.Links.Avatar.Href, }, - Branch: c.cloud.run.metadata.BitbucketPipelinesBranch, - BaseBranch: c.cloud.run.metadata.BitbucketPipelinesDestinationBranch, + Branch: pr.Source.Branch.Name, + BaseBranch: pr.Destination.Branch.Name, ChangesRequestedCount: changesRequestedCount, ApprovedCount: approvalCount, ReviewDecision: reviewDecision,