Skip to content

Commit 2fdea1d

Browse files
authored
CLOUDP-347174: Enable on demand nightlies (#2718)
1 parent e1726d4 commit 2fdea1d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/cloud-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
workflow_call:
55

66
concurrency:
7-
group: cloud-tests-${{ (github.ref == 'refs/heads/main' && github.event_name == 'schedule' && 'nightly') || (github.ref == 'refs/heads/main' && github.event_name == 'push' && 'merge') || github.actor || github.triggering_actor }}
7+
group: cloud-tests-${{ (github.ref == 'refs/heads/main' && (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && 'nightly') || (github.ref == 'refs/heads/main' && github.event_name == 'push' && 'merge') || github.actor || github.triggering_actor }}
88
cancel-in-progress: true
99

1010
jobs:

.github/workflows/tests-e2e2.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
EVENT_NAME: ${{ github.event_name }}
7979
run: |
8080
# Nightly runs all tests, overriding PR labels as '["test/e2e2/*"]'
81-
if [ "${GITHUB_REF}" == "refs/heads/main" ] && [ "${EVENT_NAME}" == "schedule" ];then
81+
if [ "${GITHUB_REF}" == "refs/heads/main" ] && [ "${EVENT_NAME}" == "schedule" -o "${EVENT_NAME}" == "workflow_dispatch" ];then
8282
PR_LABELS='["test/e2e2/*"]'
8383
echo "Nightly runs all tests"
8484
fi

0 commit comments

Comments
 (0)