From 6692258ac2e1db4243eb34f4e42eb87c1735c24d Mon Sep 17 00:00:00 2001 From: Ikenna Omekam Date: Fri, 16 Aug 2024 10:11:14 -0500 Subject: [PATCH] Update upstream-sync.yml --- .github/workflows/upstream-sync.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/upstream-sync.yml b/.github/workflows/upstream-sync.yml index f5a897eb..fe9a1dea 100644 --- a/.github/workflows/upstream-sync.yml +++ b/.github/workflows/upstream-sync.yml @@ -78,11 +78,11 @@ jobs: if git ls-remote --exit-code --heads origin ${{ env.UPSTREAM_SYNC_BRANCH_NAME }}; then # Mirror remote workflows if they exist if git ls-tree --name-only -r origin/${{ env.UPSTREAM_SYNC_BRANCH_NAME }}:.github/workflows &> /dev/null; then - echo "hit" git checkout origin/${{ env.UPSTREAM_SYNC_BRANCH_NAME }} .github/workflows fi fi - + + git commit -am "Prepare branch for deploy" git push -f origin ${{ env.UPSTREAM_SYNC_BRANCH_NAME }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}