From 6be96e7a20801e70ef8f2a964e73eb47d09cd815 Mon Sep 17 00:00:00 2001 From: Adam Cozzette Date: Fri, 16 Sep 2022 15:20:52 -0700 Subject: [PATCH] Run CMake file auto-generation only on the main protobuf repo (#10611) This workflow will otherwise fail on forks, so let's make sure to do it only on the main repo where we need it. --- .github/workflows/generated_cmake.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/generated_cmake.yml b/.github/workflows/generated_cmake.yml index b63f16c0cc..640bd137ec 100644 --- a/.github/workflows/generated_cmake.yml +++ b/.github/workflows/generated_cmake.yml @@ -11,6 +11,7 @@ on: jobs: cmake: + if: github.repository == 'protocolbuffers/protobuf' runs-on: ubuntu-latest strategy: