From b76b16458cc15c248ec62773f0c86b56b4886e50 Mon Sep 17 00:00:00 2001 From: A Date: Tue, 5 Nov 2024 12:44:05 +0000 Subject: [PATCH] Remove TF status checks for PRs. --- .github/workflows/terraform-fmt.yml | 15 +++++++++++++-- .github/workflows/terraform-tflint.yml | 15 +++++++++++++-- 2 files changed, 26 insertions(+), 4 deletions(-) diff --git a/.github/workflows/terraform-fmt.yml b/.github/workflows/terraform-fmt.yml index 1eaf012f..09535343 100644 --- a/.github/workflows/terraform-fmt.yml +++ b/.github/workflows/terraform-fmt.yml @@ -1,8 +1,19 @@ name: 'Terraform Format' on: - pull_request: - branches: [ "main", "next" ] + workflow_dispatch: + inputs: + workspace: + description: 'Terraform Workspace which should map to GitHub Environment' + required: true + default: 'Dev' + type: choice + options: + - Dev + - Test + - Pre-Prod + - Prod + - Load-Test jobs: terraform-fmt: diff --git a/.github/workflows/terraform-tflint.yml b/.github/workflows/terraform-tflint.yml index 4e1fc6ad..ce7bc0a7 100644 --- a/.github/workflows/terraform-tflint.yml +++ b/.github/workflows/terraform-tflint.yml @@ -1,8 +1,19 @@ name: 'Terraform TFLint' on: - pull_request: - branches: [ "main", "next" ] + workflow_dispatch: + inputs: + workspace: + description: 'Terraform Workspace which should map to GitHub Environment' + required: true + default: 'Dev' + type: choice + options: + - Dev + - Test + - Pre-Prod + - Prod + - Load-Test jobs: terraform-tflint: