From 43b769ec5870079c2583e00ed5d761f8d79a6bd3 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Fri, 3 Sep 2021 19:57:49 -0400 Subject: [PATCH] Update action.yml --- action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 26217a2d..a9d6c201 100644 --- a/action.yml +++ b/action.yml @@ -22,7 +22,7 @@ runs: steps: - id: migration-fixer run: | - TARGET_BRANCH="${{ inputs.default-branch }}" + DEFAULT_BRANCH="${{ inputs.default-branch }}" EXTRA_ARGS="--fix" @@ -34,7 +34,7 @@ runs: EXTRA_ARGS+=" -s" fi - python ${{ inputs.managepy-path }} makemigrations $EXTRA_ARGS -b "${TARGET_BRANCH/refs\/heads\//}" + python ${{ inputs.managepy-path }} makemigrations $EXTRA_ARGS -b "${DEFAULT_BRANCH}" shell: bash branding: icon: check