diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0309899b..3814bb1e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,6 @@ name: CI/CD -on: [pull_request, workflow_dispatch] +on: [pull_request, push, workflow_dispatch] jobs: test: @@ -31,7 +31,7 @@ jobs: uses: codecov/codecov-action@v1 publish: needs: test - if: ${{ !startsWith(github.event.head_commit.message, 'bump') && !startsWith(github.event.head_commit.message, 'chore') && github.ref == 'refs/heads/main' && github.repository_owner == 'supabase-community' }} + if: ${{ !startsWith(github.event.head_commit.message, 'bump') && !startsWith(github.event.head_commit.message, 'chore') && github.ref == 'refs/heads/main' && github.event_name == 'push' && github.repository_owner == 'supabase-community' }} runs-on: ubuntu-latest name: "Bump version, create changelog and publish" environment: