Hi! Had a question about the environment variables as described on the environment variables page
- BUILDKITE_BUILD_CREATOR
- BUILDKITE_BUILD_CREATOR_EMAIL
- BUILDKITE_BUILD_CREATOR_TEAMS
How specifically are these fields populated? Presumably if the user kicks off the build from the Buildkite UI itself, it’ll take that user and populated
In the flow of being triggered by the source control system via webhook, presumably it takes some metadata from the source control system. What specifically is that? For example, if the source control system is git, does the email as specified in the author of the commit get mapped to a Buildkite user, and from that the name and teams are discovered?
Similarly, in the flow of a build being triggered by one of our systems via the GraphQL API, how are these questions answered? Does it inherit permissions based on our user which is triggering the build via the API – I ask specifically since this doesn’t seem to be the case, as I’m seeing the actual author of the commit instead of our service user.
Thanks!