Commit 7aad05e5 authored by Rémy Coutable's avatar Rémy Coutable

ci: Fetch target branch in 'db:check-migrations'

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 76b821e6
...@@ -359,6 +359,7 @@ db:check-migrations: ...@@ -359,6 +359,7 @@ db:check-migrations:
- .db-job-base - .db-job-base
- .rails:rules:ee-and-foss-mr-with-migration - .rails:rules:ee-and-foss-mr-with-migration
script: script:
- git fetch origin $CI_MERGE_REQUEST_TARGET_BRANCH_NAME:$CI_MERGE_REQUEST_TARGET_BRANCH_NAME --depth 20
- scripts/validate_migration_schema - scripts/validate_migration_schema
allow_failure: true allow_failure: true
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment