From b9e128b05dc24001a9fb736ef12c65d67beb05d9 Mon Sep 17 00:00:00 2001 From: Gomex Date: Thu, 8 Aug 2024 17:46:29 -0300 Subject: [PATCH 1/2] feat: adicionando pipeline --- .github/workflows/testando_terraform.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/testando_terraform.yml diff --git a/.github/workflows/testando_terraform.yml b/.github/workflows/testando_terraform.yml new file mode 100644 index 0000000..b5dc062 --- /dev/null +++ b/.github/workflows/testando_terraform.yml @@ -0,0 +1,14 @@ +name: testando-modulo-terraform +run-name: ${{ github.actor }} iniciou o teste do módulo terraform +on: + push: +jobs: + tfsec: + runs-on: ubuntu-latest + steps: + - name: baixando código + uses: actions/checkout@v4 + - name: instalando tfsec + run: curl -s https://raw.githubusercontent.com/aquasecurity/tfsec/master/scripts/install_linux.sh | bash + - name: executando tfsec + run: ls -la \ No newline at end of file From dcf32b9f79738a0f78ebd38dd018787957e56453 Mon Sep 17 00:00:00 2001 From: Gomex Date: Thu, 8 Aug 2024 17:49:34 -0300 Subject: [PATCH 2/2] fix: colocando o comando correto para tfsec --- .github/workflows/testando_terraform.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/testando_terraform.yml b/.github/workflows/testando_terraform.yml index b5dc062..d85391b 100644 --- a/.github/workflows/testando_terraform.yml +++ b/.github/workflows/testando_terraform.yml @@ -11,4 +11,4 @@ jobs: - name: instalando tfsec run: curl -s https://raw.githubusercontent.com/aquasecurity/tfsec/master/scripts/install_linux.sh | bash - name: executando tfsec - run: ls -la \ No newline at end of file + run: tfsec . \ No newline at end of file