-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
56 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
|
||
name: downstreams | ||
|
||
on: | ||
pull_request: | ||
types: [opened, synchronize] | ||
merge_group: | ||
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 | ||
|
||
permissions: | ||
id-token: write | ||
contents: read | ||
pull-requests: write | ||
|
||
jobs: | ||
compatibility: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
downstream: | ||
- name: blueprint | ||
- name: lsql | ||
- name: ucx | ||
- name: remorph | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Install Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
cache: 'pip' | ||
cache-dependency-path: '**/pyproject.toml' | ||
python-version: '3.10' | ||
|
||
- name: Install toolchain | ||
run: | | ||
pip install hatch==1.9.4 | ||
- name: Downstreams | ||
uses: databrickslabs/sandbox/downstreams@downstreams/v0.0.1 | ||
with: | ||
repo: ${{ matrix.downstream.name }} | ||
org: databrickslabs | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |