From 749e05f82ca8f236c2b3a2ef8b66507928c3822b Mon Sep 17 00:00:00 2001 From: Dominik Kapusta Date: Fri, 15 Dec 2023 13:27:50 +0100 Subject: [PATCH] Disable main branch check --- .github/workflows/code_freeze.yml | 12 ++++++------ fastlane/Fastfile | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/code_freeze.yml b/.github/workflows/code_freeze.yml index bd23a9604b..68ac3e3ea7 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 5e67e77929..91d20c3c18 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)