Files
insforge--insforge/.github/workflows/check-migrations.yml
T
wehub-resource-sync 3a28426bf4
Lint and Format Check / lint-and-format (push) Failing after 0s
Check Migrations / Check for duplicate migration numbers (push) Failing after 1s
CI Pre-merge Check / CI Pre-merge Check (push) Failing after 2m17s
chore: import upstream snapshot with attribution
2026-07-13 12:23:40 +08:00

30 lines
796 B
YAML

name: Check Migrations
on:
push:
branches: [ main ]
pull_request:
branches: [ '*' ]
# Required by the merge queue: the queue builds a temporary `merge_group` ref
# (PR rebased onto the latest main) and waits for this check to report on it.
# Without this trigger the check never runs for queued PRs and the queue stalls.
merge_group:
jobs:
check-duplicate-numbers:
name: Check for duplicate migration numbers
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: '20'
- name: Check for duplicate migration numbers
run: node scripts/check-migration-duplicates.js
working-directory: backend