Skip to content

Commit

Permalink
Allow skipping migrations validity check (#1806)
Browse files Browse the repository at this point in the history
  • Loading branch information
inahga authored Aug 24, 2023
1 parent bb25a89 commit 2fbac33
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci-migrations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ jobs:
with:
fetch-depth: 0
- name: Check that existing migrations have not changed
if: github.event_name == 'pull_request'
if: |
github.event_name == 'pull_request' &&
!contains(github.event.pull_request.labels.*.name, 'allow-changed-migrations')
env:
BASE_SHA: "${{ github.event.pull_request.base.sha }}"
run: |
Expand Down

0 comments on commit 2fbac33

Please sign in to comment.