From cb2fdb5187e89ea02fc21390ea15d309e2890a62 Mon Sep 17 00:00:00 2001 From: Anmol Nagpal Date: Fri, 20 Mar 2026 07:09:49 -0400 Subject: [PATCH 1/2] feat: support provider: none to skip cloud auth in tf-checks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Allows repos to run terraform validate/fmt/init without needing cloud credentials by passing provider: none. All auth steps are already guarded by provider-specific conditionals so this works out of the box — just documenting the option. --- .github/workflows/tf-checks.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tf-checks.yml b/.github/workflows/tf-checks.yml index 6e1a98ce..f679a776 100644 --- a/.github/workflows/tf-checks.yml +++ b/.github/workflows/tf-checks.yml @@ -13,7 +13,7 @@ on: required: false type: string default: azurerm - description: 'Cloud provider to run the workflow. e.g. azurerm, aws, gcp, or digitalocean' + description: 'Cloud provider to run the workflow. e.g. azurerm, aws, gcp, digitalocean, or none (skip cloud auth for validate-only)' aws_region: required: false type: string From 6accfc555b18cd158c018135a57acc3b824198e2 Mon Sep 17 00:00:00 2001 From: CloudDrove CI <84795582+clouddrove-ci@users.noreply.github.com> Date: Fri, 20 Mar 2026 07:18:30 -0400 Subject: [PATCH 2/2] Update defaults for provider and show_plan Changed default provider to empty and updated show_plan default to false. --- .github/workflows/tf-checks.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tf-checks.yml b/.github/workflows/tf-checks.yml index f679a776..3fbc0ca2 100644 --- a/.github/workflows/tf-checks.yml +++ b/.github/workflows/tf-checks.yml @@ -12,7 +12,7 @@ on: provider: required: false type: string - default: azurerm + default: "" description: 'Cloud provider to run the workflow. e.g. azurerm, aws, gcp, digitalocean, or none (skip cloud auth for validate-only)' aws_region: required: false @@ -46,7 +46,7 @@ on: show_plan: required: false type: boolean - default: true + default: false description: 'Show full terraform plan output. If false, only shows summary (e.g. Plan: 4 to add, 1 to change).' gcp_credentials: required: false