What does it mean if why=="edit" in a build?


In the API endpoint for a single build, there’s a why field which can be any one of the following values: retry, edit, null, ssh, api, github, scheduled-workflow, first-build, auto-retry

Out of them, it’s not clear when can this field be edit. Is there are any documentation regarding this? (In the API docs, the why field is defined as short string explaining the reason the build ran. However, I was looking for a longer explanation.)


Hi @keheliya,

edit is actually a remnant of CircleCI 1.0. Back then it meant you triggered a build as a result of editing project settings.

In CircleCI 2.0, this no longer happens.

Thanks @yannCI That explains it.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.