Skip to content

Merge pull request #160 from Ontotext-AD/Update-GDB-11-4-1 #852

Merge pull request #160 from Ontotext-AD/Update-GDB-11-4-1

Merge pull request #160 from Ontotext-AD/Update-GDB-11-4-1 #852

Workflow file for this run

name: Continuous Integration
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
analyze:
name: Analyze the Terraform scripts
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
steps:
- name: Clone repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Setup Terraform CLI
uses: hashicorp/setup-terraform@dfe3c3f87815947d99a8997f908cb6525fc44e9e # v4.0.1
- name: Run Terraform init
run: terraform init
- name: Run Terraform format check
run: terraform fmt -check -recursive
- name: Run Terraform validate check
run: terraform validate
- name: Run tfsec
uses: aquasecurity/tfsec-sarif-action@21ded20e8ca120cd9d3d6ab04ef746477542a608 # v0.1.4
with:
config_file: tfsec.yml
sarif_file: tfsec.sarif
- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@bc0b696b4103f5fe60f15749af68a046868d511a #v2.25.4
with:
sarif_file: tfsec.sarif