diff --git a/.github/workflows/buildAndTestCMake.yml b/.github/workflows/buildAndTestCMake.yml index 3688cf90678..3afa1086c3b 100644 --- a/.github/workflows/buildAndTestCMake.yml +++ b/.github/workflows/buildAndTestCMake.yml @@ -34,6 +34,8 @@ concurrency: jobs: cmake-build: + # Only run scheduled CI on main repo + if: (github.repository == 'openxla/stablehlo' || github.event_name != 'schedule') name: "cmake-build ${{ github.event_name == 'schedule' && '(llvm-project@HEAD)' || ''}}" env: LLVM_PROJECT_DIR: "llvm-project"