aquasecurity / tfsec-action

Vanilla GitHub action to run tfsec
MIT License
51 stars 28 forks source link

tfsec-pr-commenter #15

Open Omer-AV-MA opened 1 year ago

Omer-AV-MA commented 1 year ago

Hey, i'm using tfsec-pr-commenter as a github action on each PR but the job complete successfully event though it found issues on each scan i get the following output: "Working in PR xyz TFSec found x issues Working in GITHUB_WORKSPACE /github/workspace/ Preparing comment for violation of rule aws-ec2-add-description-to-security-group-rule in ./terraform/main.tf Ignoring - change not part of the current PR Preparing comment for violation of rule aws-ec2-no-public-ingress-sgr in ./terraform/main.tf Ignoring - change not part of the current PR"

why it's not failing the check and write a PR comment ?