Skip to content

Commit c686c32

Browse files
authored
Update action.yml
1 parent 8976bba commit c686c32

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ runs:
1919
steps:
2020
- id: migration-fixer
2121
run: |
22-
BRANCH="${{ inputs.default-branch }}"
22+
TARGET_BRANCH="${{ inputs.default-branch }}"
2323
2424
EXTRA_ARGS="--fix"
2525
2626
if [[ '${{ inputs.force-update }}' == 'true' ]]; then
2727
EXTRA_ARGS+=" -f"
2828
fi
2929
30-
python ${{ inputs.managepy-path }} makemigrations $EXTRA_ARGS -b "${BRANCH/refs\/heads\//}"
30+
python ${{ inputs.managepy-path }} makemigrations $EXTRA_ARGS -b "${TARGET_BRANCH/refs\/heads\//}"
3131
shell: bash
3232
branding:
3333
icon: check

0 commit comments

Comments
 (0)