diff --git a/.github/workflows/code_freeze.yml b/.github/workflows/code_freeze.yml index 68ac3e3ea7..bd23a9604b 100644 --- a/.github/workflows/code_freeze.yml +++ b/.github/workflows/code_freeze.yml @@ -18,12 +18,12 @@ jobs: steps: - # - name: Assert main branch - # run: | - # if [ "${{ github.ref_name }}" != "main" ]; then - # echo "👎 Not the main branch" - # exit 1 - # fi + - name: Assert main branch + run: | + if [ "${{ github.ref_name }}" != "main" ]; then + echo "👎 Not the main branch" + exit 1 + fi - name: Check out the code uses: actions/checkout@v3 diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 91d20c3c18..5e67e77929 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -342,7 +342,7 @@ platform :mac do private_lane :macos_codefreeze_prechecks do ensure_git_status_clean - # ensure_git_branch(branch: DEFAULT_BRANCH) + ensure_git_branch(branch: DEFAULT_BRANCH) git_pull git_submodule_update(recursive: true, init: true)