Skip to content

Conversation

@jrfnl
Copy link
Collaborator

@jrfnl jrfnl commented Oct 23, 2022

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.

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 jrfnl added this to the 1.x Next Release milestone Oct 23, 2022
@jrfnl jrfnl requested a review from grogy October 23, 2022 09:59
@grogy grogy merged commit 425985e into master Oct 31, 2022
@grogy grogy deleted the feature/ghactions-harden-cs-steps branch October 31, 2022 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants