# Manual GitHub Comment trigger

**URL:** https://community.codecov.com/t/manual-github-comment-trigger/4425
**Category:** Support
**Tags:** github
**Created:** [July 19, 2023, 11:37pm UTC](https://community.codecov.com/t/manual-github-comment-trigger/4425 "2023-07-19T23:37:26Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![JennerF](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/jennerf/32/3138_2.png) [@JennerF](https://community.codecov.com/u/JennerF)
#### Post date: [July 19, 2023, 11:37pm UTC](https://community.codecov.com/t/manual-github-comment-trigger/4425/1 "2023-07-19T23:37:26Z")

</div>

## Before submitting a topic, please confirm the following

I have searched for similar issues before creating this topic.  
 I have verified that my repository is using the [Codecov GitHub app](https://github.com/apps/codecov), if using GitHub  
 I have [validated](https://docs.codecov.com/docs/codecov-yaml#validate-your-repository-yaml) my `codecov.yaml` configuration file.  
 I have filled out the below sections to the best of my ability.  
 I understand that the community boards are a free, best-effort tool. While we hope to have someone on the Codecov team resolve your problem quickly, this is not always possible.

### Description

I’m interested in using the Components feature to view coverage on a specific portion of the code, but the only way to use this feature is via GitHub PR comments. We’ve broadly disabled PR comments on our monorepo, but I would love to enable them for when specific files change or via a manual trigger on the PR.

Is there any way to hook the PR comments feature up so that it only triggers for specific use-cases? I see the `require_changes: true` flag, but I essentially want a combination of this flag and a path specification.

The other option here would be to allow users to manually trigger GitHub comments on some action. Is there an API we can hook into to trigger GH Comments?

---

<div class="post-metadata">

### Author: ![tom](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/tom/32/8_2.png) [@tom](https://community.codecov.com/u/tom)
#### Post date: [July 23, 2023, 11:33pm UTC](https://community.codecov.com/t/manual-github-comment-trigger/4425/2 "2023-07-23T23:33:32Z")

</div>

@JennerF if I’m reading this correctly, you’re looking to get a PR comment when a particular file or directory changes. The best way, as you mentioned, would be if you could do this using Components.

Right now, this is on our product roadmap, but doesn’t exist. I would make a post on our [feedback](https://app.codecov.io/gh/feedback) channel so that our product team can get the feedback.
