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: various tweaks #726

Merged
merged 2 commits into from
Oct 23, 2022
Merged

GH Actions: various tweaks #726

merged 2 commits into from
Oct 23, 2022

Conversation

jrfnl
Copy link
Collaborator

@jrfnl jrfnl commented Oct 23, 2022

GH Actions/basics: revert to xmllint-problem-matcher v1

As the korelstar/xmllint-problem-matcher repo now has a long-running v1 branch, this update which was included in PR #725 is no longer needed (and would necessitate more frequent updates if it would remain).

Ref:

GH Actions: harden the workflow against PHPCS ruleset errors

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.

As the `korelstar/xmllint-problem-matcher` repo now has a long-running `v1` branch, this update which was included in PR 725 is no longer needed (and would necessitate more frequent updates if it would remain).

Ref:
* korelstar/xmllint-problem-matcher 7
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.3.4 milestone Oct 23, 2022
@jrfnl jrfnl requested a review from a team as a code owner October 23, 2022 08:23
@GaryJones GaryJones merged commit b46ca77 into develop Oct 23, 2022
@GaryJones GaryJones deleted the feature/ghactions-tweaks branch October 23, 2022 08:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants