heartbeat: allow muting a heartbeat monitor #5
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
name: migrations | |
on: | |
pull_request: | |
types: ['opened', 'ready_for_review', 'reopened', 'synchronize'] | |
paths: | |
- 'migrate/migrations/**' | |
jobs: | |
migrations: | |
runs-on: ubuntu-latest | |
if: github.event.pull_request.draft == false | |
name: Validate Migration Order | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Run validation script | |
run: ./devtools/scripts/validate-migrations.sh | |
- name: Add migration label | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: gh pr edit ${{ github.event.number }} --add-label "DB Migration" |