Spelling corrections #51
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This checks that pull requests to main don't modify existing migrations. | |
# Doing so causes problems for deployment to existing instances. | |
name: check-migrations | |
on: | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
check-migrations: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 2 | |
- name: Check migrations haven't changed | |
run: > | |
git diff --exit-code --diff-filter=MD HEAD^ -- api/app/src/main/resources/db/migration |