Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/setup-build-environment/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ runs:
python-version: '3.13'

- name: Install uv
uses: astral-sh/setup-uv@eac588ad8def6316056a12d4907a9d4d84ff7a3b # v7.3.0
uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0
with:
version: "0.8.9"

Expand Down
38 changes: 36 additions & 2 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -362,14 +362,14 @@ jobs:
fi

# Trigger integration tests in a separate repository.
# Requires secrets from "test-trigger-is" environment (not available for fork PRs).
# Requires secrets from "test-trigger-is" environment (not available for fork PRs or dependabot).
# Auto-approves for merge groups to avoid running twice and queue timeouts.
integration-trigger:
needs:
- testmask

if: >-
(github.event_name == 'pull_request' && !github.event.pull_request.head.repo.fork) ||
(github.event_name == 'pull_request' && !github.event.pull_request.head.repo.fork && github.event.pull_request.user.login != 'dependabot[bot]') ||
(github.event_name == 'merge_group') ||
(github.event_name == 'push')

Expand Down Expand Up @@ -468,3 +468,37 @@ jobs:
gh workflow run cli-isolated-nightly.yml -R ${{ secrets.ORG_NAME }}/${{ secrets.REPO_NAME }} \
--ref main \
-f commit_sha=${{ github.event.after }}

# Skip integration tests for dependabot PRs.
# Dependabot has no access to the "test-trigger-is" environment secrets,
# so we use the built-in GITHUB_TOKEN to mark the required "Integration
# Tests" check as passed.
integration-trigger-dependabot:
if: >-
github.event_name == 'pull_request' &&
github.event.pull_request.user.login == 'dependabot[bot]'

runs-on:
group: databricks-deco-testing-runner-group
labels: ubuntu-latest-deco

permissions:
checks: write

steps:
- name: Skip integration tests
uses: actions/github-script@v8
with:
script: |-
await github.rest.checks.create({
owner: context.repo.owner,
repo: context.repo.repo,
name: 'Integration Tests',
head_sha: '${{ github.event.pull_request.head.sha }}',
status: 'completed',
conclusion: 'success',
output: {
title: 'Integration Tests',
summary: '⏭️ Skipped (dependabot PR)'
}
});
Loading