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.
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 optionalname
input if provided rather than the workflow name, as this means different test suites end up overwriting each other.