mirror of https://github.com/databricks/cli.git
Work on GitHub Action (#733)
## Changes * Run the build workflow on push to main to properly use the build cache Same as https://github.com/databricks/databricks-sdk-go/pull/601. ## Tests n/a
This commit is contained in:
parent
7a130a3e6e
commit
2f2386ef5a
|
@ -5,6 +5,14 @@ on:
|
||||||
types: [opened, synchronize]
|
types: [opened, synchronize]
|
||||||
merge_group:
|
merge_group:
|
||||||
types: [checks_requested]
|
types: [checks_requested]
|
||||||
|
push:
|
||||||
|
# Always run on push to main. The build cache can only be reused
|
||||||
|
# if it was saved by a run from the repository's default branch.
|
||||||
|
# The run result will be identical to that from the merge queue
|
||||||
|
# because the commit is identical, yet we need to perform it to
|
||||||
|
# seed the build cache.
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
tests:
|
tests:
|
||||||
|
|
Loading…
Reference in New Issue