# PR Comment or label as trigger

**URL:** <https://drone.discourse.group/t/pr-comment-or-label-as-trigger/12734>\
**Category:** Drone Support\
**Created:** [November 2, 2022, 1:19pm UTC](https://drone.discourse.group/t/pr-comment-or-label-as-trigger/12734 "2022-11-02T13:19:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![TautFlorian](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/tautflorian/32/8098_2.png) [@TautFlorian](https://drone.discourse.group/u/TautFlorian)\
**Post date:** [November 2, 2022, 1:19pm UTC](https://drone.discourse.group/t/pr-comment-or-label-as-trigger/12734/1 "2022-11-02T13:19:08Z")

</div>

We are currently starting with drone and i am wondering if there is a opportunity to trigger certain pipelines or tasks based on comment or a label.

Forexample we have task inside our pipeline which requires a lot of resources and should on be fired once and not foreach commit.

So there would be several options for us to run this task.

- Only when all reviews are done
- When a certain comment was added to the pr
- When a certain label was added to the pr

I have seen that there is triggers like here: [Triggers | Drone](https://docs.drone.io/pipeline/triggers/#by-action) where i can catch labeled, but how can i filter for the labels content? Same for comment etc.

We are using Gitea which is able to send a webhool every time labeled, commented and reviewed etc.

I have seen this issue on Github: [Control PR build through comments · Issue #2056 · harness/gitness · GitHub](https://github.com/harness/drone/issues/2056). It’s. still open, is there any update on it or is there an alternative way?

Thanks in advance

---

<div class="post-metadata">

**Author:** ![Shruthikini](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/shruthikini/32/7942_2.png) [@Shruthikini](https://drone.discourse.group/u/Shruthikini)\
**Post date:** [November 2, 2022, 2:28pm UTC](https://drone.discourse.group/t/pr-comment-or-label-as-trigger/12734/2 "2022-11-02T14:28:14Z")

</div>

Hi @TautFlorian this looks great to me. Can you submit your proposal to [here](https://github.com/drone/proposal)?

Thanks!
