fix(build): register broker-agent in SERVICES and skip next build for… #356
This file contains hidden or 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
| name: Check Migrations | |
| on: | |
| pull_request: | |
| branches: [main] | |
| push: | |
| branches: [main] | |
| jobs: | |
| schema-migration-sync: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Determine base ref | |
| id: base | |
| run: | | |
| if [ "${{ github.event_name }}" = "pull_request" ]; then | |
| echo "ref=origin/${{ github.base_ref }}" >> "$GITHUB_OUTPUT" | |
| else | |
| echo "ref=HEAD~1" >> "$GITHUB_OUTPUT" | |
| fi | |
| - name: Schema/migration sync | |
| run: bash scripts/check-schema-migration-sync.sh "${{ steps.base.outputs.ref }}" | |
| - name: Migrations folder consistency | |
| run: bash scripts/check-migrations.sh |