vebr/jest-lcov-reporter

`update-comment` updates the same comment in reusable workflows

Opened this issue · 1 comments

I'm trying to use this in a monorepo, where we have a reusable workflow that does the whole checkout/npm ci/npm run <command> etc. shenanigans.

Unfortunately, the update-comment option doesn't seem to play well with reusable workflows. Looking at the code, it's looking for a comment containing <!-- Code Coverage Comment: <workflow name> -->. I feel like it should probably use the optional name input if provided rather than the workflow name, as this means different test suites end up overwriting each other.

Thanks for mentioning this, @js-beaulieu - it made it very quick to find.