Skip to content

Commit

Permalink
Add tfsec working directory
Browse files Browse the repository at this point in the history
* There is a bug in tfsec, where it finds vulnerabilities, but just
  outputs 'Ignoring - change not part of the current PR' - Even though
  it is. This is causing the check to pass, when it should fail.
* Adding `working_directory: ''` is a suggested fix
* aquasecurity/tfsec-pr-commenter-action#90 (comment)
  • Loading branch information
Stretch96 committed Oct 17, 2023
1 parent ce6f9ae commit 98fdad8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/continuous-integration-tfsec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ jobs:
uses: aquasecurity/[email protected]
with:
github_token: ${{ github.token }}
working_directory: ''

0 comments on commit 98fdad8

Please sign in to comment.