diff --git a/private-modules.yml b/private-modules.yml
index a4fca1981e719c9a2494fbac9521540946ca70e2..839bdf68891cd7ecfa385e9a0e71248ebb7be9f3 100644
--- a/private-modules.yml
+++ b/private-modules.yml
@@ -16,24 +16,28 @@ include:
         when: never
       - if: $CI_COMMIT_TAG
         when: never
+      - if: $CI_COMMIT_BRANCH == "develop" || $CI_COMMIT_BRANCH =~ "/^feature\/.*/"
   - remote: https://git.drupalcode.org/project/gitlab_templates/-/raw/1.0.x/includes/include.drupalci.variables.yml
     rules:
       - if: $CI_PIPELINE_SOURCE == "merge_request_event"
         when: never
       - if: $CI_COMMIT_TAG
         when: never
+      - if: $CI_COMMIT_BRANCH == "develop" || $CI_COMMIT_BRANCH =~ "/^feature\/.*/"
   - remote: https://git.drupalcode.org/project/gitlab_templates/-/raw/1.0.x/includes/include.drupalci.workflows.yml
     rules:
       - if: $CI_PIPELINE_SOURCE == "merge_request_event"
         when: never
       - if: $CI_COMMIT_TAG
         when: never
+      - if: $CI_COMMIT_BRANCH == "develop" || $CI_COMMIT_BRANCH =~ "/^feature\/.*/"
   - local: private-modules-overrides.yml
     rules:
       - if: $CI_PIPELINE_SOURCE == "merge_request_event"
         when: never
       - if: $CI_COMMIT_TAG
         when: never
+      - if: $CI_COMMIT_BRANCH == "develop" || $CI_COMMIT_BRANCH =~ "/^feature\/.*/"
   - project: gitlab-ci-cd/general
     ref: main
     file: '/mixins.yml'