in most cases at least. either derive from the current build type, or via get_current_repo() which reads the GITHUB_REPOSITORY env var.
with minimal code changes