From 728021d69eab55d4eb04dee4f4b4b37de14601e6 Mon Sep 17 00:00:00 2001 From: Martin Robinson Date: Wed, 12 Apr 2023 14:50:19 +0200 Subject: [PATCH] Import WPT tests every week instead of every day We often have multiple imports stacked up which makes it more confusing to land each one. In addition, giving a week to do the import will give us more margin to triage failing tests and hopefully to be able to use intermittent expectations for flaky tests. --- .../{wpt-nightly.yml => scheduled-wpt-import.yml} | 8 ++++---- etc/ci/{wpt-nightly-update.sh => wpt-scheduled-update.sh} | 0 2 files changed, 4 insertions(+), 4 deletions(-) rename .github/workflows/{wpt-nightly.yml => scheduled-wpt-import.yml} (95%) rename etc/ci/{wpt-nightly-update.sh => wpt-scheduled-update.sh} (100%) diff --git a/.github/workflows/wpt-nightly.yml b/.github/workflows/scheduled-wpt-import.yml similarity index 95% rename from .github/workflows/wpt-nightly.yml rename to .github/workflows/scheduled-wpt-import.yml index 1240e13b439..49bdda984e7 100644 --- a/.github/workflows/wpt-nightly.yml +++ b/.github/workflows/scheduled-wpt-import.yml @@ -1,9 +1,9 @@ -name: WPT import +name: Scheduled WPT import on: schedule: - # Run this job at 00:00 everyday - - cron: "0 0 * * *" + # Run this job every Sunday at 00:00. + - cron: "0 0 * * 0" # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -66,7 +66,7 @@ jobs: export CURRENT_DATE=$(date +"%d-%m-%Y") echo $CURRENT_DATE echo "CURRENT_DATE=$CURRENT_DATE" >> $GITHUB_ENV - ./etc/ci/wpt-nightly-update.sh + ./etc/ci/wpt-scheduled-update.sh - name: Push changes uses: ad-m/github-push-action@master with: diff --git a/etc/ci/wpt-nightly-update.sh b/etc/ci/wpt-scheduled-update.sh similarity index 100% rename from etc/ci/wpt-nightly-update.sh rename to etc/ci/wpt-scheduled-update.sh