# Changing the event type on manually started builds

**URL:** <https://drone.discourse.group/t/changing-the-event-type-on-manually-started-builds/8640>\
**Category:** Drone Support\
**Created:** [November 24, 2020, 5:16pm UTC](https://drone.discourse.group/t/changing-the-event-type-on-manually-started-builds/8640 "2020-11-24T17:16:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![0kk](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/0kk/32/2919_2.png) [@0kk](https://drone.discourse.group/u/0kk)\
**Post date:** [November 24, 2020, 5:16pm UTC](https://drone.discourse.group/t/changing-the-event-type-on-manually-started-builds/8640/1 "2020-11-24T17:16:20Z")

</div>

My pipelines are written in away that they execute when there’s a push to specific branches. Recently we needed to start pipelines manually and we found that it’s possible doing that from drone’s API [Build Create](https://docs.drone.io/api/builds/build_create/) but the problem now is that the event type is `custom` not `push` which is the reason that steps are not running. So is there someway to change the event type of a manually created build?

---

<div class="post-metadata">

**Author:** ![bradrydzewski](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/bradrydzewski/32/3513_2.png) [@bradrydzewski](https://drone.discourse.group/u/bradrydzewski)\
**Post date:** [November 24, 2020, 8:58pm UTC](https://drone.discourse.group/t/changing-the-event-type-on-manually-started-builds/8640/2 "2020-11-24T20:58:12Z")

</div>

manually triggered builds will always have the `custom` event type, however, you can update your pipeline steps to accept multiple event types accordingly

```nohighlight
when:
  event:
  - push
  - custom

```

---

<div class="post-metadata">

**Author:** ![0kk](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/0kk/32/2919_2.png) [@0kk](https://drone.discourse.group/u/0kk)\
**Post date:** [November 24, 2020, 10:19pm UTC](https://drone.discourse.group/t/changing-the-event-type-on-manually-started-builds/8640/3 "2020-11-24T22:19:42Z")

</div>

I just wanted to clarify if that is possible or not. Thanks a lot for your help.
