diff --git a/private-modules.yml b/private-modules.yml
index 839bdf68891cd7ecfa385e9a0e71248ebb7be9f3..52a103d2b6f9ff4993c88117dfcea925cfae42ee 100644
--- a/private-modules.yml
+++ b/private-modules.yml
@@ -10,21 +10,21 @@ workflow:
     - if: $CI_COMMIT_TAG
 
 include:
-  - remote: https://git.drupalcode.org/project/gitlab_templates/-/raw/1.0.x/includes/include.drupalci.main.yml
+  - remote: https://git.drupalcode.org/${_GITLAB_TEMPLATES_REPO}/-/raw/${_GITLAB_TEMPLATES_REF}/includes/include.drupalci.main.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.variables.yml
+  - remote: https://git.drupalcode.org/${_GITLAB_TEMPLATES_REPO}/-/raw/${_GITLAB_TEMPLATES_REF}/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
+  - remote: https://git.drupalcode.org/${_GITLAB_TEMPLATES_REPO}/-/raw/${_GITLAB_TEMPLATES_REF}/includes/include.drupalci.workflows.yml
     rules:
       - if: $CI_PIPELINE_SOURCE == "merge_request_event"
         when: never