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.
diff --git a/.github/workflows/generated_cmake.yml b/.github/workflows/generated_cmake.yml
index b63f16c..640bd13 100644
--- a/.github/workflows/generated_cmake.yml
+++ b/.github/workflows/generated_cmake.yml
@@ -11,6 +11,7 @@
 
 jobs:
   cmake:
+    if: github.repository == 'protocolbuffers/protobuf'
     runs-on: ubuntu-latest
 
     strategy: