# Detecting the event type that triggered the pipeline

**URL:** <https://community.codefresh.io/t/detecting-the-event-type-that-triggered-the-pipeline/305>\
**Category:** Pipeline Triggers\
**Created:** [February 27, 2020, 1:13am UTC](https://community.codefresh.io/t/detecting-the-event-type-that-triggered-the-pipeline/305 "2020-02-27T01:13:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![christian-roggia](https://sea1.discourse-cdn.com/flex019/user_avatar/community.codefresh.io/christian-roggia/32/217_2.png) [@christian-roggia](https://community.codefresh.io/u/christian-roggia)\
**Post date:** [February 27, 2020, 1:13am UTC](https://community.codefresh.io/t/detecting-the-event-type-that-triggered-the-pipeline/305/1 "2020-02-27T01:13:00Z")

</div>

Currently there is no straightforward way to detect the event type that triggered the pipeline.

The closest variable provided is CF\_BUILD\_TRIGGER but it does not provide information about the event itself such as whether the pipeline was triggered by a pull request, by a commit, by a tag, etc.

I think an additional variable should be provided with more information.

---

<div class="post-metadata">

**Author:** ![Kostis](https://sea1.discourse-cdn.com/flex019/user_avatar/community.codefresh.io/kostis/32/391_2.png) [@Kostis](https://community.codefresh.io/u/Kostis)\
**Post date:** [February 27, 2020, 11:50am UTC](https://community.codefresh.io/t/detecting-the-event-type-that-triggered-the-pipeline/305/2 "2020-02-27T11:50:14Z")

</div>

Hello.

I think that what you are asking is already in our backlog for this quarter and will soon be released. Stay tuned!
