Remove push to main trigger for build workflow (#621)

## Changes

Commits going through the merge queue are tested there using their final
SHA as if they were already in main. The push-to-main trigger therefore
duplicates the builds that were already triggered from the merge queue.

## Tests

![Screenshot 2023-07-27 at 15 37
17](https://github.com/databricks/cli/assets/9845/ff7af5dd-0d2c-48c2-89b2-7ecf3d121071)
This commit is contained in:
Pieter Noordhuis 2023-07-27 16:19:40 +02:00 committed by GitHub
parent 2f4bf844fc
commit 28bfc0c73d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -3,8 +3,6 @@ name: build
on:
pull_request:
types: [opened, synchronize]
push:
branches: [main]
merge_group:
types: [checks_requested]