It appears that users who are only members of secret teams do not have their team membership properly passed through in the BUILDKITE_BUILD_CREATOR_TEAMS environment variable.
My team membership is to only one team at present - is it because this team is Secret? If so, how can we whitelist agents using environment hooks based on secret teams?
It appears that users who are only members of secret teams do not have their team membership properly passed through in the BUILDKITE_BUILD_CREATOR_TEAMS environment variable.
I am trying to whitelist several secure agents using an environment hook and following the suggestions here (https://buildkite.com/docs/pipelines/permissions#programmatically-managing-teams)
My user is an administrator, and my environment variables on build appear as
BUILDKITE="true" ..... BUILDKITE_BUILD_CREATOR="[my username]" BUILDKITE_BUILD_CREATOR_EMAIL="[my email]" BUILDKITE_BUILD_CREATOR_TEAMS="" .....
My team membership is to only one team at present - is it because this team is Secret? If so, how can we whitelist agents using environment hooks based on secret teams?