We already check the default branch in pipeline health, this needs updating to look for manifest.defaultBranch in the pipeline code to make sure that they match.
Should be a warning if master, pass if main and fail if not matching, or anything else. dev before first release is fine.
Description of feature
Follow on from: https://github.com/nf-core/tools/issues/1931
We already check the default branch in pipeline health, this needs updating to look for
manifest.defaultBranch
in the pipeline code to make sure that they match.Should be a warning if
master
, pass ifmain
and fail if not matching, or anything else.dev
before first release is fine.