Skip to content

Commit 942e097

Browse files
authored
chore: Use qa for TestSuite on Sundays (#2701)
1 parent c030d8e commit 942e097

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/test-suite.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ on:
3333
default: true
3434

3535
schedule:
36-
- cron: "0 0 2-31 * *" # workflow runs every day at midnight UTC except on the first day of the month
36+
# https://crontab.guru/#0_0_2-31_*_0
37+
- cron: "0 0 2-31 * 1-6" # workflow runs at 00:00 on every day-of-month from 2 through 31 and on every day-of-week from Monday through Saturday.
38+
- cron: "0 0 2-31 * 0" # workflow runs at 00:00 on every day-of-month from 2 through 31 and on Sunday.
3739

3840
concurrency:
3941
group: '${{ github.workflow }}'
@@ -71,7 +73,7 @@ jobs:
7173
with:
7274
terraform_version: ${{ matrix.terraform_version }}
7375
provider_version: ${{ matrix.provider_version }}
74-
atlas_cloud_env: ${{ inputs.atlas_cloud_env }}
76+
atlas_cloud_env: ${{ inputs.atlas_cloud_env || github.event.schedule == '0 0 2-31 * 0' && 'qa' || 'dev' }}
7577

7678
clean-after:
7779
needs: tests

0 commit comments

Comments
 (0)