From d28e24a6c6363d3c906b94471ed098bf84980312 Mon Sep 17 00:00:00 2001 From: "trop[bot]" <37223003+trop[bot]@users.noreply.github.com> Date: Tue, 16 Sep 2025 09:54:28 -0400 Subject: [PATCH] ci: Use Local Execution, Remote Caching (LERC) for fork PRS (#48325) cleanup Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: John Kleinschmidt --- .github/actions/build-electron/action.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/actions/build-electron/action.yml b/.github/actions/build-electron/action.yml index 38e514a553..76d0aed0ea 100644 --- a/.github/actions/build-electron/action.yml +++ b/.github/actions/build-electron/action.yml @@ -44,6 +44,14 @@ runs: - name: Add Clang problem matcher shell: bash run: echo "::add-matcher::src/electron/.github/problem-matchers/clang.json" + - name: Setup Siso for fork pull requests + if: ${{ github.event.pull_request.head.repo.full_name != github.repository }} + shell: bash + run: | + # Use Local Execution, Remote Caching (LERC). Checks the remote cache for action + # matches and uses existing results if a match is found. If not, execution of the + # action is performed locally. + echo "RBE_exec_strategy=local" >> $GITHUB_ENV - name: Build Electron ${{ inputs.step-suffix }} shell: bash run: |