Skip to content

Add webhook support

Add webhook support #2

name: Make sure to run manage.py makemigrations if you change models
on: [pull_request]
jobs:
is-migration-diff-clean:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: "Upgrade pip"
run: "pip install --upgrade pip"
- name: "Install package"
run: pip install ".[dev]"
- name: "You forgot to run manage.py makemigrations for model changes"
run: |
python src/manage.py makemigrations --dry-run # Run extra time for debug output
python src/manage.py makemigrations --dry-run | grep 'No changes detected'