From 780a634b4b6de3875e51ff4bdc09d3dd04b7f347 Mon Sep 17 00:00:00 2001 From: "ale.vinogradov" Date: Mon, 9 Feb 2026 18:04:15 +0300 Subject: [PATCH] fix bump check --- .github/workflows/check.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 8f4f2aa..589a447 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -35,17 +35,17 @@ jobs: fi - name: Check bump type run: | - git fetch NEW_BUMP_TYPE="" if [[ $INPUT_TITLE =~ \[(.*)\] ]]; then NEW_BUMP_TYPE="${BASH_REMATCH[1]}" else echo "Bump type not found" >&2; exit 1; fi - if [[ "$NEW_BUMP_TYPE" == "$none" ]]; then + if [[ "$NEW_BUMP_TYPE" == "none" ]]; then echo "Bump type none, skip compare" exit 0 fi + git fetch base_branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}} target_branch=${{ github.event.pull_request.base.ref }} chmod +x ./scripts/helpers/build_and_dump.sh