From b00d91b5e4f63630ebaa2555d9a23fa73aeb64aa Mon Sep 17 00:00:00 2001 From: Apoorva Garg <271577+agarg21@users.noreply.github.com> Date: Wed, 21 Oct 2026 15:32:18 +0000 Subject: [PATCH] Run minimum-versions build on pushes to main to warm sccache The workflow only runs on pull_request, so sccache's GHA backend stores every object in a PR-scoped cache that other PRs can't read. Running it on pushes to main populates the base-branch scope, which PR runs can restore, so a new PR's first build no longer compiles from scratch. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01Rt4UYn6zqR9uS7DWNGEBYx Signed-off-by: Apoorva Garg <271577+agarg21@users.noreply.github.com> --- .github/workflows/minimum_versions.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/minimum_versions.yml b/.github/workflows/minimum_versions.yml index cc1802b1fb8..8969d6f8ee8 100644 --- a/.github/workflows/minimum_versions.yml +++ b/.github/workflows/minimum_versions.yml @@ -6,6 +6,9 @@ name: 'Minimum supported versions' on: pull_request: + push: + branches: + - main workflow_dispatch: concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}