diff --git a/Retag-Branches.gitlab-ci.yml b/Retag-Branches.gitlab-ci.yml
index 4097a2af5c02499cca860ccbcfd869133cf2d251..a7042c1cb5c236140e75e1824a066b540a3d8699 100644
--- a/Retag-Branches.gitlab-ci.yml
+++ b/Retag-Branches.gitlab-ci.yml
@@ -41,4 +41,4 @@ retag_branches:
       when: never
     - if: '$CI_COMMIT_BRANCH'
   cache: []
-  dependencies: []
+  dependencies: [build]