# Env CIRCLE\_USERNAME is null

**URL:** <https://discuss.circleci.com/t/env-circle-username-is-null/2570>\
**Category:** Bug Reports\
**Created:** [March 8, 2016, 7:57pm UTC](https://discuss.circleci.com/t/env-circle-username-is-null/2570 "2016-03-08T19:57:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pmclanahan](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/pmclanahan/32/1935_2.png) [@pmclanahan](https://discuss.circleci.com/u/pmclanahan)\
**Post date:** [March 8, 2016, 7:57pm UTC](https://discuss.circleci.com/t/env-circle-username-is-null/2570/1 "2016-03-08T19:57:09Z")

</div>

It seems like it’s null all the time. I need it during a build triggered by a push to a named branch. The documentation seems to suggest that it should contain the github username of the user that pushed the branch, but during my builds it always seems to be null. e.g.:

[https://circleci.com/gh/mozilla/bedrock/117](https://circleci.com/gh/mozilla/bedrock/117)

---

<div class="post-metadata">

**Author:** ![pmclanahan](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/pmclanahan/32/1935_2.png) [@pmclanahan](https://discuss.circleci.com/u/pmclanahan)\
**Post date:** [March 22, 2016, 7:52pm UTC](https://discuss.circleci.com/t/env-circle-username-is-null/2570/2 "2016-03-22T19:52:01Z")

</div>

Still see this issue. Perhaps I’m reading the documentation wrong on how this variable is supposed to be set and used, but I could really use this information (the github username of the user that pushed the branch or restarted the build via the UI) during certain builds. Ideas anyone?

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/circleci/original/3X/5/1/511608acda8e85906e15909b57bd0a46c1dbe291.png) [@system](https://discuss.circleci.com/u/system)\
**Post date:** [June 18, 2018, 11:34am UTC](https://discuss.circleci.com/t/env-circle-username-is-null/2570/3 "2018-06-18T11:34:01Z")

</div>


