From 528a9fa2da7c8d834fcea93e58bfb31610483afa Mon Sep 17 00:00:00 2001 From: Pieter Noordhuis Date: Thu, 18 Jun 2026 14:53:47 +0200 Subject: [PATCH] ci: run push-to-main integration tests in short mode Point the push-to-main trigger at cli-isolated-pr.yml (which passes short: true) instead of cli-isolated-nightly.yml. Commits to main now skip the slow CloudSlow cloud tests, giving fast, reliable signal. The full CloudSlow suite runs only on the nightly schedule and on workflow-file changes, not on every commit. Co-authored-by: Isaac --- .github/workflows/push.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 33396e0f01a..f80cfba7adc 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -556,12 +556,15 @@ jobs: -f pull_request_number=${{ github.event.pull_request.number }} \ -f commit_sha=${{ github.event.pull_request.head.sha }} + # Use the PR workflow (which runs in short mode) so commits to main do not + # trigger the slow CloudSlow integration tests. Those run only on the + # nightly schedule (and on workflow-file changes), not on every commit. - name: Trigger integration tests (push to main) if: ${{ github.event_name == 'push' }} env: GH_TOKEN: ${{ steps.generate-token.outputs.token }} run: |- - gh workflow run cli-isolated-nightly.yml -R ${{ secrets.ORG_NAME }}/${{ secrets.REPO_NAME }} \ + gh workflow run cli-isolated-pr.yml -R ${{ secrets.ORG_NAME }}/${{ secrets.REPO_NAME }} \ --ref main \ -f commit_sha=${{ github.event.after }}