From d1d686bfbc6e2d1030b5549b9ce9ded111f2a94a Mon Sep 17 00:00:00 2001 From: Serg Shalavin Date: Tue, 19 Sep 2023 19:46:08 +0200 Subject: [PATCH] Update sync.yml --- .github/workflows/sync.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml index f6115349..6cf0c715 100644 --- a/.github/workflows/sync.yml +++ b/.github/workflows/sync.yml @@ -11,7 +11,7 @@ jobs: - name: Checkout Repository uses: actions/checkout@master - name: Exit if not on main branch - if: endsWith(github.ref, 'main') == false + if: endsWith(github.event.base_ref, 'main') == false run: exit -1 - name: Run GitHub File Sync uses: BetaHuhn/repo-file-sync-action@v1