Commiting to protected branches when using Versioned Settings from VCS

I'm looking to use Kotlin DSL to maintain build configuration settings in TeamCity.

Under the Versioned Settings area of my project, I have enabled Synchronization Settings to use a VCS root.  TeamCity appears to be unable to push changes to my Git repository, because my default branch has branch protection to require a PR approval for non-privileged users to merge.

 

I know I can grant permissions to specific users to push changes through without those restrictions.  What user does TeamCity use to author these commits?

 

0
1 comment

Hi Tim,

 

TeamCity will attempt the commit via the first username configured in the VCS Usernames section of the user setting up the connection.

0

Please sign in to leave a comment.