From 17775dad5dc3acb689397675a8e78d7d3bf02d03 Mon Sep 17 00:00:00 2001 From: Jelte Fennema Date: Fri, 6 Jan 2023 17:02:49 +0100 Subject: [PATCH] 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) --- .github/workflows/packaging-test-pipelines.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/packaging-test-pipelines.yml b/.github/workflows/packaging-test-pipelines.yml index 5b16466f9..0233f2c1a 100644 --- a/.github/workflows/packaging-test-pipelines.yml +++ b/.github/workflows/packaging-test-pipelines.yml @@ -1,8 +1,6 @@ name: Build tests in packaging images on: - push: - branches: "**" pull_request: types: [opened, reopened,synchronize]