diff --git a/.github/workflows/db-changes-var1.yaml b/.github/workflows/db-changes-var1.yaml index 5f8ed07..3399354 100644 --- a/.github/workflows/db-changes-var1.yaml +++ b/.github/workflows/db-changes-var1.yaml @@ -95,10 +95,11 @@ jobs: run: | alembic -c alembic.ini upgrade head - - name: Preserve migration script for new branch checkout + - name: Git stash migration script for new branch checkout id: git-stash-migration-script + run: | git add . - git stash # add and stash the last revision script before switching branches + git stash - name: Checkout New Branch uses: actions/checkout@v4