diff --git a/templates/gitlab-ci-node.yml b/templates/gitlab-ci-node.yml
index 41194d75b8f03bf8357cdae5ecc67f13cb54736b..7d5873c5f9cafcf70b24de8afdda731847b85d2c 100644
--- a/templates/gitlab-ci-node.yml
+++ b/templates/gitlab-ci-node.yml
@@ -786,7 +786,7 @@ node-semgrep:
   dependencies: []
   stage: test
   before_script:
-    - *node-scripts
+    - !reference [.node-scripts]
     - mkdir -p -m 777 ${NODE_PROJECT_DIR}/reports
     - setup_semgrep_rules
   script: