OtterDog is a tool to manage GitHub organizations at scale using a configuration as code approach. It is actively used by the Eclipse Foundation to manage its numerous projects hosted on GitHub.
Apparently GitHub makes a difference between tags and branches when defining patterns for allowed branches / tags that can do deployment to a given environment.
See https://github.com/eclipse-opendut/.eclipsefdn/pull/14