Verified Commit 760d96e5 authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Limit submodule update to main branch only

parent 5815ec2b
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -40,6 +40,8 @@ workflow:
Update Submodules:
  stage: submodules
  extends: [.git]
  rules:
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
  script:
    - |
      git submodule foreach --recursive '