-
Notifications
You must be signed in to change notification settings - Fork 123
54 lines (48 loc) · 1.3 KB
/
downstreams.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
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: ucx
org: databrickslabs
- name: blueprint
org: databrickslabs
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install toolchain
run: |
pip install hatch==1.9.4
- name: Acceptance
uses: databrickslabs/sandbox/downstreams@downstreams/v0.0.1
with:
repo: ${{ matrix.downstream.name }}
org: ${{ matrix.downstream.org }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}