To prevent master (or really any deleted branch), from ever resurfacing in looker you have to have ALL five of the below.
-
Follow instructions to migrate from
mastertomainConfiguring project version control settings | Looker | Google Cloud Documentation -
looker → Update Looker project’s Production Branch Name to
main -
github → Remove/clean up
masterin GitHub remote -
looker → Looker-side cleanup: Sudo as EACH dev and delete the branch to purge the branch from Looker’s project state.
-
github → Add repo ruleset to prevent update or create for branches matching “master”, this ensures a branch of that name will never be able to exist in the environment again