Commit 4bef03b8 authored by Albert Salim's avatar Albert Salim

Merge branch '343070-fatal-bad-revision-master-in-db-check-migrations-job' into 'master'

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

See merge request gitlab-org/gitlab!73256
parents 00c26e3b 7aad05e5
......@@ -360,6 +360,7 @@ db:check-migrations:
- .db-job-base
- .rails:rules:ee-and-foss-mr-with-migration
script:
- git fetch origin $CI_MERGE_REQUEST_TARGET_BRANCH_NAME:$CI_MERGE_REQUEST_TARGET_BRANCH_NAME --depth 20
- scripts/validate_migration_schema
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