From b8b9f6656d1a4c649a5513ae1fe87386f2f21b5a Mon Sep 17 00:00:00 2001
From: Tim Haase <timhaase@gmx.net>
Date: Thu, 24 Feb 2022 14:03:25 +0100
Subject: [PATCH] Only sync master branch and all tags

---
 .github/workflows/git-sync.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/git-sync.yml b/.github/workflows/git-sync.yml
index 0104ea2..3df0669 100644
--- a/.github/workflows/git-sync.yml
+++ b/.github/workflows/git-sync.yml
@@ -3,13 +3,13 @@ jobs:
   git-sync:
     runs-on: ubuntu-latest
     steps:
-      - name: git-sync-branches
+      - name: git-sync-master
         uses: wei/git-sync@v3
         with:
           source_repo: "lepus2589/LoadStaticSharedTargets"
-          source_branch: "refs/remotes/source/*"
+          source_branch: "master"
           destination_repo: "${{ secrets.MIRROR_DESTINATION_REPO_URL }}"
-          destination_branch: "refs/heads/*"
+          destination_branch: "master"
           destination_ssh_private_key: ${{ secrets.DESTINATION_SSH_PRIVATE_KEY }}
       - name: git-sync-tags
         uses: wei/git-sync@v3
-- 
GitLab