wordpress-importer icon indicating copy to clipboard operation
wordpress-importer copied to clipboard

GH Actions: harden the workflow against PHPCS ruleset errors

Open jrfnl opened this issue 3 years ago • 0 comments

If there is a ruleset error, the cs2pr action doesn't receive an xml report and exits with a 0 error code, even though the PHPCS run failed (though not on CS errors, but on a ruleset error).

This changes the GH Actions workflow to allow for that situation and still fail the build in that case.

jrfnl avatar Oct 23 '22 09:10 jrfnl