Closed hafah closed 6 years ago
I'm working in a project with 103 errors apparently. I want to tell codeship to review every pull request if it has more than 103 errors it should not allow for a merge.
This way every programmer is responsible for their errors.
so something like
php run.php --max-errors 103
if there are more than 103 errors return 1
else return 0
You provided the question and the answer, nice job ^^
I'm working in a project with 103 errors apparently. I want to tell codeship to review every pull request if it has more than 103 errors it should not allow for a merge.
This way every programmer is responsible for their errors.
so something like
if there are more than 103 errors return 1
else return 0