Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Scope for Comments #32

Closed
Floppy012 opened this issue Mar 27, 2023 · 2 comments
Closed

Feature Request: Scope for Comments #32

Floppy012 opened this issue Mar 27, 2023 · 2 comments
Labels
question Further information is requested

Comments

@Floppy012
Copy link

Hey 👋🏼 It's me again.

I wanted to request a feature that would come in pretty handy: Scoped PR Comments.

In my organization, we're using monorepos that contain backend and frontend code. They are tested by separate frameworks in separate workflows, and thus generate two different coverage reports. We don't want to combine them because different teams work on Frontend/Backend.

My request is to add a feature that allows to set a scope for the PR comment so that multiple comments per PR are possible. In our case that would be one comment for backend coverage and one for frontend coverage.

@jacekk
Copy link
Contributor

jacekk commented Mar 28, 2023

@Floppy012 I think you could use signature param.

Check out these examples: https://github.com/lucassabreu/comment-coverage-clover/blob/main/.github/workflows/example.yml . Each signature creates/updates a separate comment in given PR. Like in here: #31

@lucassabreu lucassabreu added the question Further information is requested label Mar 28, 2023
@Floppy012
Copy link
Author

Uh nice. That was what I'm looking for. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants