From 01b2b1471de0b137999ee1ba7bf52425c51a475f Mon Sep 17 00:00:00 2001 From: Christopher Dilks Date: Thu, 12 Dec 2024 05:28:33 -0500 Subject: [PATCH] ci: scheduled tests are now twice per week instead of nightly (#162) Nightly seems a bit too frequent, compared to the rate of change on our production branches; furthermore, when this high-statistics job is running, my (our?) other workflow runs on other `JeffersonLab`-owned repos are queued and have to wait for this one. The new run times are Wednesday and Saturday at 03:30 EST / 04:30 EDT (=0830Z). --- .github/nightly-issue.md | 4 ---- .github/scheduled-issue.md | 4 ++++ .github/workflows/schedule.yml | 5 +++-- 3 files changed, 7 insertions(+), 6 deletions(-) delete mode 100644 .github/nightly-issue.md create mode 100644 .github/scheduled-issue.md diff --git a/.github/nightly-issue.md b/.github/nightly-issue.md deleted file mode 100644 index 5527942..0000000 --- a/.github/nightly-issue.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -title: Nightly validation workflow failed on {{ date | date('dddd, MMMM Do, [at] HH:mm[Z]') }} ---- -Workflow Run: {{ env.REPO_URL }}/actions/runs/{{ env.RUN_ID }} diff --git a/.github/scheduled-issue.md b/.github/scheduled-issue.md new file mode 100644 index 0000000..3a17eba --- /dev/null +++ b/.github/scheduled-issue.md @@ -0,0 +1,4 @@ +--- +title: Scheduled validation workflow failed on {{ date | date('dddd, MMMM Do, [at] HH:mm[Z]') }} +--- +Workflow Run: {{ env.REPO_URL }}/actions/runs/{{ env.RUN_ID }} diff --git a/.github/workflows/schedule.yml b/.github/workflows/schedule.yml index 65142ec..57c4fe1 100644 --- a/.github/workflows/schedule.yml +++ b/.github/workflows/schedule.yml @@ -2,7 +2,8 @@ name: Scheduled Test on: schedule: - - cron: '33 8 * * *' + # Wednesday and Saturday at 0830Z + - cron: '30 8 * * 3,6' jobs: @@ -27,4 +28,4 @@ jobs: REPO_URL: ${{ github.event.repository.html_url }} RUN_ID: ${{ github.run_id }} with: - filename: .github/nightly-issue.md + filename: .github/scheduled-issue.md