Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

ci: gate Docker build on Postgres migration tests, run on PRs (#688)

Yudhi Armyndharis94aa846c59c0
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 1cc3ed6d8..2de080fdf 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -187,8 +187,7 @@ jobs:
docker:
name: Docker Build
runs-on: ubuntu-latest
- needs: [build]
- if: github.event_name == 'push'
+ needs: [build, test-postgres]
permissions:
contents: read
packages: write