From 13d411cd2b70fbb854085fc9b2f27f991aa32097 Mon Sep 17 00:00:00 2001 From: Will Sarg <12886992+willsarg@users.noreply.github.com> Date: Mon, 16 Feb 2026 10:56:53 -0500 Subject: [PATCH] ci: route trusted pushes to self-hosted runner (#369) --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 68cb185..e7b54ad 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -118,7 +118,7 @@ jobs: name: Format & Lint needs: [changes] if: needs.changes.outputs.rust_changed == 'true' - runs-on: ubuntu-latest + runs-on: ${{ github.event_name == 'push' && fromJSON('["self-hosted","Linux","X64","lxc-ci"]') || 'ubuntu-latest' }} timeout-minutes: 20 steps: - uses: actions/checkout@v4 @@ -138,7 +138,7 @@ jobs: name: Test needs: [changes] if: needs.changes.outputs.rust_changed == 'true' - runs-on: ubuntu-latest + runs-on: ${{ github.event_name == 'push' && fromJSON('["self-hosted","Linux","X64","lxc-ci"]') || 'ubuntu-latest' }} timeout-minutes: 30 steps: - uses: actions/checkout@v4 @@ -153,7 +153,7 @@ jobs: name: Build (Smoke) needs: [changes] if: needs.changes.outputs.rust_changed == 'true' - runs-on: ubuntu-latest + runs-on: ${{ github.event_name == 'push' && fromJSON('["self-hosted","Linux","X64","lxc-ci"]') || 'ubuntu-latest' }} timeout-minutes: 20 steps: @@ -187,7 +187,7 @@ jobs: name: Docs Quality needs: [changes] if: needs.changes.outputs.docs_changed == 'true' - runs-on: ubuntu-latest + runs-on: ${{ github.event_name == 'push' && fromJSON('["self-hosted","Linux","X64","lxc-ci"]') || 'ubuntu-latest' }} timeout-minutes: 15 steps: - uses: actions/checkout@v4