From 8fc1b5489aaf281e15ea8411774d86fdc95fcdb0 Mon Sep 17 00:00:00 2001 From: Dominik Kapusta Date: Fri, 15 Dec 2023 13:27:09 +0100 Subject: [PATCH] Revert "Disable main branch check" This reverts commit 3201b529da2b5b966fed7303fde1693ca7f9ed90. --- .github/workflows/code_freeze.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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