Skip to content

Commit

Permalink
Add github_token to pass in upload sarif file step
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronaldo Macapobre committed Aug 26, 2024
1 parent f5b41cc commit 3cfc226
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/aws-template-terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ jobs:
tfsec_args: "--tfvars-file=${{ inputs.CONTEXT_FOLDER }}/${{ inputs.ENVIRONMENT_NAME }}.tfvars"
- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
sarif_file: tfsec.sarif
needs: [check_changes]
Expand Down

0 comments on commit 3cfc226

Please sign in to comment.