From ca2269700103704f63a79d3359962e0bf4a3d570 Mon Sep 17 00:00:00 2001 From: Tim Kaune <tim.kaune@gmx.de> Date: Mon, 26 Feb 2024 09:15:17 +0100 Subject: [PATCH] Remove workflow step filters for git sync You can push multiple branches and tags at the same time using git push --atomic. In this case, only master was synced, not the tags. Always run both steps just in case. --- .github/workflows/git-sync.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/git-sync.yml b/.github/workflows/git-sync.yml index a7d5ab1..7c07d04 100644 --- a/.github/workflows/git-sync.yml +++ b/.github/workflows/git-sync.yml @@ -11,7 +11,6 @@ jobs: runs-on: ubuntu-latest steps: - name: git-sync-master - if: ${{ github.ref_type == 'branch' }} uses: wei/git-sync@v3 with: source_repo: "lepus2589/LoadStaticSharedTargets" @@ -20,7 +19,6 @@ jobs: destination_branch: "master" destination_ssh_private_key: ${{ secrets.DESTINATION_SSH_PRIVATE_KEY }} - name: git-sync-tags - if: ${{ github.ref_type == 'tag' }} uses: wei/git-sync@v3 with: source_repo: "lepus2589/LoadStaticSharedTargets" -- GitLab