There is no need for TeamCity GitHub, you can go with a simple VCS trigger.
At the first start, active branches will be activated . From docs :
A branch is considered active if:
- VCS (. ,
teamcity.activeVcsBranch.age.days
, - 7 ). - (.. ,
teamcity.activeBuildBranch.age.hours
, 24 ).
, .
, .