Skip to content

Add custom cop for default branch string literal

Robert Speicher requested to merge rs-default-branch-literal into master

Part of https://gitlab.com/gitlab-org/release-tools/-/issues/451

Now that !1321 (merged) has been merged, we can start enforcing the usage of .default_branch.

This MR only adds the cop and excludes all current violations. A follow-up MR will try to resolve them.

Merge request reports