Skip to content

Commit

Permalink
Fail the build when there are errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronaldo Macapobre committed Aug 20, 2024
1 parent c06615b commit 27dea1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/aws-template-terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
with:
working_directory: ${{ inputs.CONTEXT_FOLDER }}
sarif_file: tfsec.sarif
tfsec_args: "--tfvars-file=${{ inputs.CONTEXT_FOLDER }}/${{ inputs.ENVIRONMENT_NAME }}.tfvars"
tfsec_args: "--tfvars-file=${{ inputs.CONTEXT_FOLDER }}/${{ inputs.ENVIRONMENT_NAME }}.tfvars --soft-fail=false"
- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v3
with:
Expand Down

0 comments on commit 27dea1b

Please sign in to comment.