This is an automated email from the ASF dual-hosted git repository.

sureshanaparti pushed a commit to branch main
in repository 
https://gitbox.apache.org/repos/asf/cloudstack-terraform-provider.git


The following commit(s) were added to refs/heads/main by this push:
     new f1fc6d9  Enable copilot code review & fix setup-opentofu version to 
fix the acceptance test GitHub Action (#302)
f1fc6d9 is described below

commit f1fc6d95a83b1f86478f1dcf5f227595631e9b10
Author: Vishesh <[email protected]>
AuthorDate: Mon Jul 13 16:58:05 2026 +0530

    Enable copilot code review & fix setup-opentofu version to fix the 
acceptance test GitHub Action (#302)
    
    * Enable copilot code review
    
    * Fix setup-opentofu version
    
    * Fix opentofu failures
---
 .asf.yaml                        | 5 +++++
 .github/workflows/acceptance.yml | 6 +++++-
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/.asf.yaml b/.asf.yaml
index fbb766d..992c828 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -37,3 +37,8 @@ github:
   collaborators:
     - fabiomatavelli
     - bhouse-nexthop
+
+  copilot_code_review:
+    enabled: true
+    review_drafts: true
+    review_on_push: true
diff --git a/.github/workflows/acceptance.yml b/.github/workflows/acceptance.yml
index 626fb5b..c551d24 100644
--- a/.github/workflows/acceptance.yml
+++ b/.github/workflows/acceptance.yml
@@ -98,15 +98,19 @@ jobs:
         id: setup-cloudstack
         with:
           cloudstack-version: ${{ matrix.cloudstack-version }}
-      - uses: opentofu/setup-opentofu@9d84900f3238fab8cd84ce47d658d25dd008be2f 
# v1.0.8
+      - uses: opentofu/setup-opentofu@a1320f892987e89d278cc92dc5adc984fb93aca4 
# v2.0.2
         with:
           tofu_version: ${{ matrix.opentofu-version }}
+          tofu_wrapper: false
       - name: Run acceptance test
         env:
           CLOUDSTACK_USER_ID: ${{ 
steps.setup-cloudstack.outputs.CLOUDSTACK_USER_ID }}
           CLOUDSTACK_API_KEY: ${{ 
steps.setup-cloudstack.outputs.CLOUDSTACK_API_KEY }}
           CLOUDSTACK_SECRET_KEY: ${{ 
steps.setup-cloudstack.outputs.CLOUDSTACK_SECRET_KEY }}
+          TF_ACC_PROVIDER_NAMESPACE: hashicorp
+          TF_ACC_PROVIDER_HOST: registry.opentofu.org
         run: |
+          export TF_ACC_TERRAFORM_PATH="$(which tofu)"
           make testacc
     services:
       cloudstack-simulator:

Reply via email to