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: ''` fixes the issue
* aquasecurity/tfsec-pr-commenter-action#90 (comment)
  • Loading branch information
Stretch96 committed Oct 17, 2023
1 parent cc3de96 commit 1c93c16
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 1c93c16

Please sign in to comment.