Skip to content

Commit 43b769e

Browse files
authored
Update action.yml
1 parent 3a04d07 commit 43b769e

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
@@ -22,7 +22,7 @@ runs:
2222
steps:
2323
- id: migration-fixer
2424
run: |
25-
TARGET_BRANCH="${{ inputs.default-branch }}"
25+
DEFAULT_BRANCH="${{ inputs.default-branch }}"
2626
2727
EXTRA_ARGS="--fix"
2828
@@ -34,7 +34,7 @@ runs:
3434
EXTRA_ARGS+=" -s"
3535
fi
3636
37-
python ${{ inputs.managepy-path }} makemigrations $EXTRA_ARGS -b "${TARGET_BRANCH/refs\/heads\//}"
37+
python ${{ inputs.managepy-path }} makemigrations $EXTRA_ARGS -b "${DEFAULT_BRANCH}"
3838
shell: bash
3939
branding:
4040
icon: check

0 commit comments

Comments
 (0)