I have a service hook setup on a repo in our Github Enterprise instance. It uses the TeamCity service hook to trigger continuous builds. Its pointing at a TeamCity build configuration with a VC root where the branch spec is:
But when we push tags (aka refs/tags/*) it triggers a build (ex ?addToQueue=bt1234&branchName=xyz-1.0) and since the tag isn't in the given branch spec it appears to use the default branch in the VCS root (aka master). Ideally I want it to skip the build entirely.
Advice on how to ignore or filter the erroneous webhook?