diff --git a/.github/workflows/warpbuild-ubuntu-latest-snapshot.yml b/.github/workflows/warpbuild-ubuntu-latest-snapshot.yml index 92f491214c..3cbd737748 100644 --- a/.github/workflows/warpbuild-ubuntu-latest-snapshot.yml +++ b/.github/workflows/warpbuild-ubuntu-latest-snapshot.yml @@ -5,8 +5,11 @@ on: schedule: # Every week (Sunday at 00:00 UTC) - cron: "0 0 * * 0" - pull_request: - branches: [stable, unstable] + push: + # The warpbuild snapshot is global across all branches, so only `stable` + # bakes it. This avoids non-stable branches (and Mergify merge-queue PRs) + # clobbering the shared snapshot and racking up duplicate bakes. + branches: [stable] paths: - '.github/workflows/warpbuild-ubuntu-latest-snapshot.yml'