Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH Actions: harden the workflow against PHPCS ruleset errors #128

Merged
merged 1 commit into from Oct 31, 2022

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 2.0.0 milestone Oct 23, 2022
@jrfnl jrfnl requested a review from grogy October 23, 2022 10:01
@grogy grogy merged commit 7e54856 into develop Oct 31, 2022
@grogy grogy deleted the feature/ghactions-harden-cs-steps branch October 31, 2022 13:56
@jrfnl jrfnl modified the milestones: 2.0.0, 1.3.x Next Mar 16, 2024
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.

None yet

2 participants