WPTT / WPThemeReview

PHP_CodeSniffer rules (sniffs) to enforce WordPress theme review coding conventions
MIT License
207 stars 38 forks source link

GH Actions: report CS violations in the PR #262

Closed jrfnl closed 3 years ago

jrfnl commented 3 years ago

The cs2pr tool will allow to display the results from an action run in checkstyle format in-line in the PR code view, which should improve usability of the workflow results.

Ref: https://github.com/staabm/annotate-pull-request-from-checkstyle

jrfnl commented 3 years ago

@dingo-d Similar here, so I did some trial and error. I've added this base to the examples for the cs2pr tool now too, so hopefully it will help more people.