From d0c79066fd87c56eda74c7876145be2c3a251c65 Mon Sep 17 00:00:00 2001 From: Richard Hallett Date: Tue, 14 Nov 2023 12:50:52 +0100 Subject: [PATCH] Disable github workflows These need updating --- .github/workflows/terraform.yml | 60 ++++++++++++++++----------------- .github/workflows/tfsec.yml | 34 +++++++++---------- 2 files changed, 47 insertions(+), 47 deletions(-) diff --git a/.github/workflows/terraform.yml b/.github/workflows/terraform.yml index 36802577c..675e372a1 100644 --- a/.github/workflows/terraform.yml +++ b/.github/workflows/terraform.yml @@ -1,37 +1,37 @@ -name: 'Terraform' +# name: 'Terraform' -on: - push: - branches: - - master - paths: - - '**/**/**/terraform.tf' - pull_request: - paths: - - '**/**/**/terraform.tf' +# on: +# push: +# branches: +# - master +# paths: +# - '**/**/**/terraform.tf' +# pull_request: +# paths: +# - '**/**/**/terraform.tf' -jobs: - terraform: - name: 'Terraform' - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v2 +# jobs: +# terraform: +# name: 'Terraform' +# runs-on: ubuntu-latest +# steps: +# - name: Checkout +# uses: actions/checkout@v2 - - name: Setup Terraform - uses: hashicorp/setup-terraform@v2 - with: - cli_config_credentials_token: ${{ secrets.TF_API_TOKEN }} +# - name: Setup Terraform +# uses: hashicorp/setup-terraform@v2 +# with: +# cli_config_credentials_token: ${{ secrets.TF_API_TOKEN }} - - name: Terraform Init - run: terraform init +# - name: Terraform Init +# run: terraform init - - name: Terraform Format - run: terraform fmt -check +# - name: Terraform Format +# run: terraform fmt -check - - name: Terraform Plan - run: terraform plan +# - name: Terraform Plan +# run: terraform plan - - name: Terraform Apply - if: github.ref == 'refs/heads/master' && github.event_name == 'push' - run: terraform apply -auto-approve +# - name: Terraform Apply +# if: github.ref == 'refs/heads/master' && github.event_name == 'push' +# run: terraform apply -auto-approve diff --git a/.github/workflows/tfsec.yml b/.github/workflows/tfsec.yml index b7f6830ef..f7f9847e9 100644 --- a/.github/workflows/tfsec.yml +++ b/.github/workflows/tfsec.yml @@ -1,19 +1,19 @@ -name: tfsec-pr-commenter -on: - pull_request: -jobs: - tfsec: - name: tfsec PR commenter - runs-on: ubuntu-latest +# name: tfsec-pr-commenter +# on: +# pull_request: +# jobs: +# tfsec: +# name: tfsec PR commenter +# runs-on: ubuntu-latest - permissions: - contents: read - pull-requests: write +# permissions: +# contents: read +# pull-requests: write - steps: - - name: Clone repo - uses: actions/checkout@master - - name: tfsec - uses: aquasecurity/tfsec-pr-commenter-action@v1.2.0 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file +# steps: +# - name: Clone repo +# uses: actions/checkout@master +# - name: tfsec +# uses: aquasecurity/tfsec-pr-commenter-action@v1.2.0 +# with: +# github_token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file