Skip to content

[MINT-3105] Front end work for FFS CRS and TDLs page #3189

[MINT-3105] Front end work for FFS CRS and TDLs page

[MINT-3105] Front end work for FFS CRS and TDLs page #3189

# This GitHub action checks for duplicate migration prefixes in the ./migrations folder,
# comparing the head branch with the base branch.
#
# This job also checks to ensure that migrations are only ever added to the ./migrations folder, and not removed or modified.
#
# By default, on: pull request targets the merge commit, which is the commit that would be merged into the base branch,
# meaning it will include commits from the head branch and the base branch (allowing us to check for version conflicts)
name: Check Migrations
on:
pull_request:
jobs:
check_migrations:
runs-on: ubuntu-latest
steps:
- name: Checkout all
uses: actions/checkout@v4
with:
fetch-depth: 0 # Need to check out all branches
- name: Check migrations versions for conflicts
run: ./scripts/check_migration_versions.sh
- name: Allow only added migrations
env:
BASE_REF: ${{ github.base_ref }}
HEAD_REF: ${{ github.head_ref }}
run: ./scripts/check_migration_diff.sh