diff --git a/.github/workflows/build-infra.yml b/.github/workflows/build-infra.yml index 9c172ec8..7f881b9d 100644 --- a/.github/workflows/build-infra.yml +++ b/.github/workflows/build-infra.yml @@ -44,7 +44,7 @@ jobs: with: sarif_file: tfsec.sarif working_directory: ${{ env.WORKING_DIRECTORY }} - tfsec_args: "--tfvars-file=${{ inputs.environment }}.tfvars" + tfsec_args: "--tfvars-file=${{ env.WORKING_DIRECTORY }}/${{ inputs.environment }}.tfvars" - name: Upload SARIF file uses: github/codeql-action/upload-sarif@v3