Merge stable into develop
Merged
IN
1mo ago+138+138+012345678901234567890123456789-25-25-01234567890123456789
Merging stable into develop after merging pull request #1293.
Summary by cubic
Fixes generators, transforms, and checks targeting the wrong branch, and prevents BranchNotFoundError when run without an explicit branch.
- Runs without
--branchnow target the configureddefault_branch(INFRAHUB_DEFAULT_BRANCH,mainby default) instead of the local Git checkout's active branch. SetINFRAHUB_DEFAULT_BRANCH_FROM_GIT=trueto keep following the local Git branch. - Branch resolution now reads from the operation's root directory instead of the process working directory when
default_branch_from_gitis enabled.