MorrisonCole / pr-lint-action

:octocat: A fast 🔥 TypeScript GitHub Action to ensure that your PR title matches a given regex.
https://morrisoncole.co.uk
MIT License
65 stars 24 forks source link

PR review incompatibilty with reviewdog (and probably others) #641

Open bmulholland opened 12 months ago

bmulholland commented 12 months ago

When using PR Reviews, reviewdog creates a "PR Review" without a comment. If it adds one of those, to flag linting issues, then that breaks this action. Even if all the reviewdog issues are fixed, this check will always crash for those PRs

The error shown in logs is simply 'Error: HttpError: Unprocessable Entity: "Could not edit a review with a missing body."'

reviewdog actions have no option to add text to their reviews

MorrisonCole commented 12 months ago

Hi @bmulholland - thanks for raising this (and for including the detail). Sounds like a problem with this action indeed!

Will take a look later this week 🙏