orf/cargo-bloat-action

No comment on pull requests

Vrixyz opened this issue · 1 comments

So I added cargo bloat to a project, but cargo bloat doesn't add any comments, even though the tests are passing.

See for yourself: rustracer/rustracer#22

For the details, I'm seeing:
image

No mentions of a posting step, which we can see in this repo:
image

Thanks for your help 🙏

The root of the problem was that the action was running for push only and not pull requests. Adding that made the comments work correctly 👍