Only run package builds on pull requests (#6605)

Recently a package test build pipeline was introduced, to build citus on
all OS that we build packages for. However, every pull request would run
each build twice. This fixes that by only running it for the pull
request event, not for the push event.

Example of duplicate run:

![image](https://user-images.githubusercontent.com/1162278/211028723-8c0e8aa0-e267-4665-811c-6cecd4286621.png)
pull/6590/head
Jelte Fennema 2023-01-06 17:02:49 +01:00 committed by GitHub
parent c2b4087ff0
commit 17775dad5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -1,8 +1,6 @@
name: Build tests in packaging images name: Build tests in packaging images
on: on:
push:
branches: "**"
pull_request: pull_request:
types: [opened, reopened,synchronize] types: [opened, reopened,synchronize]