Skip to content

Commit 8c995ef

Browse files
committed
Revert #5644: dispatch nightly workflow for push-to-main integration tests
Reverts #5644, which had pointed push-to-main at the PR workflow to avoid the full CloudSlow suite timing out. That's no longer needed: the nightly workflow now differentiates between `integration` (full, on schedule) and `integration-short` (on workflow_dispatch). Since this cross-org dispatch arrives as workflow_dispatch, commits to main run `integration-short` — CloudSlow still skips via -short, but locally-covered tests run against real clouds, unlike the PR task's skiplocal variant. Co-authored-by: Isaac
1 parent c320274 commit 8c995ef

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/push.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -556,15 +556,15 @@ jobs:
556556
-f pull_request_number=${{ github.event.pull_request.number }} \
557557
-f commit_sha=${{ github.event.pull_request.head.sha }}
558558
559-
# Use the PR workflow (which runs in short mode) so commits to main do not
560-
# trigger the slow CloudSlow integration tests. Those run only on the
561-
# nightly schedule (and on workflow-file changes), not on every commit.
559+
# Dispatch the nightly workflow; as a workflow_dispatch event it runs
560+
# integration-short (CloudSlow still skips via -short, but locally-covered
561+
# tests run against real clouds, unlike the PR task's skiplocal variant).
562562
- name: Trigger integration tests (push to main)
563563
if: ${{ github.event_name == 'push' }}
564564
env:
565565
GH_TOKEN: ${{ steps.generate-token.outputs.token }}
566566
run: |-
567-
gh workflow run cli-isolated-pr.yml -R ${{ secrets.ORG_NAME }}/${{ secrets.REPO_NAME }} \
567+
gh workflow run cli-isolated-nightly.yml -R ${{ secrets.ORG_NAME }}/${{ secrets.REPO_NAME }} \
568568
--ref main \
569569
-f commit_sha=${{ github.event.after }}
570570

0 commit comments

Comments
 (0)