From 4a79b45712e04a35115fe60a1c7cd29ad57113bd Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 3 Apr 2026 19:58:05 +0000 Subject: [PATCH] ci: disable expensive API jobs on non-main branches Agent-Logs-Url: https://github.com/github/gh-aw/sessions/e4a3f244-46f5-41d2-bc72-ae08f8de8072 Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c7abe3b479..6f6e9587fd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -995,6 +995,7 @@ jobs: run: cd actions/setup/js && npm test -- qmd_index.test.cjs js-integration-live-api: + if: github.ref == 'refs/heads/main' runs-on: ubuntu-latest timeout-minutes: 10 needs: validate-yaml @@ -2858,6 +2859,7 @@ jobs: retention-days: 14 integration-release-availability: + if: github.ref == 'refs/heads/main' name: Integration Release Availability runs-on: ubuntu-latest timeout-minutes: 10 @@ -2958,6 +2960,7 @@ jobs: echo "" >> $GITHUB_STEP_SUMMARY sh-difc-proxy: + if: github.ref == 'refs/heads/main' name: DIFC Proxy sh Integration Test runs-on: ubuntu-latest timeout-minutes: 15 @@ -3064,6 +3067,7 @@ jobs: echo "4. \`stop_difc_proxy.sh\` stops the proxy container" >> $GITHUB_STEP_SUMMARY sh-gh-host-pr-checkout-repro: + if: github.ref == 'refs/heads/main' name: GH_HOST Proxy PR Checkout Repro (Issue #23461) runs-on: ubuntu-latest timeout-minutes: 10