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: few tweaks #115

Merged
merged 2 commits into from
Oct 23, 2022
Merged

GH Actions: few tweaks #115

merged 2 commits into from
Oct 23, 2022

Conversation

jrfnl
Copy link
Member

@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 #114 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.

jrfnl added 2 commits October 23, 2022 10:40
As the `korelstar/xmllint-problem-matcher` repo now has a long-running `v1` branch, this update which was included in PR 114 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.0.0 milestone Oct 23, 2022
@jrfnl jrfnl merged commit 85bca53 into develop Oct 23, 2022
@jrfnl jrfnl deleted the feature/ghactions-tweaks branch October 23, 2022 08:44
@jrfnl jrfnl modified the milestones: 2.0.0, 1.2.1 Jan 5, 2023
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.

1 participant