From 69a9699a8a9d3f4cc1c20859c9417fa9713831c4 Mon Sep 17 00:00:00 2001 From: b7r6 Date: Sat, 3 Oct 2026 16:58:39 -0400 Subject: [PATCH] ci: run Bazel Native nightly and on merge, not on every PR The non-Nix Bazel Native lane (Bazel 9.1.1 + 8.7.0) duplicates the per-PR build/test signal from the Nix Bazel Dev lane. Drop its pull_request trigger (keep push:main, add schedule + workflow_dispatch) to take ~12 min off every PR; non-Nix build breakage is caught nightly and on merge. --- .github/workflows/native-bazel.yaml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/native-bazel.yaml b/.github/workflows/native-bazel.yaml index 0db18973af6..dd978962671 100644 --- a/.github/workflows/native-bazel.yaml +++ b/.github/workflows/native-bazel.yaml @@ -2,16 +2,15 @@ name: Bazel Native on: + # Bazel Native (the non-Nix Bazel toolchain, across Bazel 9.1.1 + 8.7.0) is + # deferred off the per-PR path: the per-PR build/test signal is carried by the + # Nix "Bazel Dev" lane. This runs as a nightly cross-check and on every merge + # to main, plus on-demand. push: branches: [main] - paths-ignore: - - '.github/styles/**' - - 'web/**' - pull_request: - branches: [main] - paths-ignore: - - '.github/styles/**' - - 'web/**' + schedule: + - cron: '0 7 * * *' # 07:00 UTC daily (off-peak) + workflow_dispatch: permissions: read-all