From b75a9542ace273d9a1f8d3525f4f923df31f9a6f Mon Sep 17 00:00:00 2001 From: oskar <53711292+oskarkocol@users.noreply.github.com> Date: Mon, 13 Jul 2026 20:29:07 +0700 Subject: [PATCH] address zizmor comment --- .github/workflows/auto_update_price_and_context_window.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/auto_update_price_and_context_window.yml b/.github/workflows/auto_update_price_and_context_window.yml index 332023e0c9b..9577d3d2092 100644 --- a/.github/workflows/auto_update_price_and_context_window.yml +++ b/.github/workflows/auto_update_price_and_context_window.yml @@ -26,11 +26,11 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + BASE_BRANCH: ${{ github.event.repository.default_branch }} run: | git config user.name "github-actions[bot]" git config user.email "github-actions[bot]@users.noreply.github.com" BRANCH_NAME="auto-update-price-and-context-window-$(date +'%Y-%m-%d')" - BASE_BRANCH="${{ github.event.repository.default_branch }}" git fetch origin "${BASE_BRANCH}" "${BRANCH_NAME}" || true if git show-ref --verify --quiet "refs/remotes/origin/${BRANCH_NAME}"; then git checkout -B "${BRANCH_NAME}" "origin/${BRANCH_NAME}"