diff --git a/.github/workflows/terraform-code-check.yml b/.github/workflows/terraform-code-check.yml index 32fa4f4..9ea5a0e 100644 --- a/.github/workflows/terraform-code-check.yml +++ b/.github/workflows/terraform-code-check.yml @@ -76,3 +76,12 @@ jobs: | Terraform Format | ${{ env.tf_fmt }} | | Terraform Linting | ${{ env.tf_lint }} | | Checkov Scan | ${{ env.tf_scan }} | + + - name: End of Workflow + if: always() + run: | + if [[ ${{ env.job_status }} == 'success' ]]; then + exit 0 + else + exit 1 + fi \ No newline at end of file