webarx-security / wpbullet

A static code analysis for WordPress (and PHP)
GNU General Public License v2.0
229 stars 48 forks source link

Exit Code #7

Open felipeelia opened 4 years ago

felipeelia commented 4 years ago

We decided to use wpBullet with GitHub Actions here on NextPress but the exit code is always 0, even when vulnerabilities were found. This makes the tests pass when they shouldn't.

I'll send a PR soon that changes this behavior, exiting with code 1 when any vulnerability is found.