Use variable notation
Some checks failed
Run unit tests / rubocop (pull_request) Successful in 53s
Run unit tests / check-licenses (pull_request) Successful in 1m0s
Run unit tests / unit_tests (pull_request) Has been cancelled
Run unit tests / copyright_notice (pull_request) Has been cancelled
Run unit tests / build-static-assets (pull_request) Has been cancelled

This commit is contained in:
Manuel Bustillo 2025-01-24 00:39:31 +01:00
parent 8f5b3d7faa
commit b4f1b79134

View File

@ -35,7 +35,7 @@ jobs:
echo "Trying again"
done
- run: |
migrations_added=$(git diff {{ github.base_ref }} --name-only db/migrate/ | wc -l)
migrations_added=$(git diff $GITHUB_BASE_REF --name-only db/migrate/ | wc -l)
echo "Migrations added: $migrations_added"
bundle exec rake db:schema:load db:migrate:status db:migrate:redo
git diff --exit-code db/schema.rb