diff --git a/.github/actions/setup-build-environment/action.yml b/.github/actions/setup-build-environment/action.yml index c9ca7e65ae..718e9656a2 100644 --- a/.github/actions/setup-build-environment/action.yml +++ b/.github/actions/setup-build-environment/action.yml @@ -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" diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index e8a769bd16..bfe8480e7d 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -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') @@ -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)' + } + });