diff --git a/.github/workflows/gitlab-mirror.yml b/.github/workflows/gitlab-mirror.yml
index b1d9dcee..9e3629fd 100644
--- a/.github/workflows/gitlab-mirror.yml
+++ b/.github/workflows/gitlab-mirror.yml
@@ -1,6 +1,8 @@
 name: Mirror and run GitLab CI
 
-on: [push]
+on:
+  push:
+    branches: [2.x]
 
 jobs:
   build: