From f82a8a02f8e7431b1f4152eb06d6778a94ea99f6 Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Thu, 26 Oct 2023 16:24:28 +0200 Subject: [PATCH] ci(action): remove unrequired action --- .github/workflows/sync-branches.yml | 30 ----------------------------- 1 file changed, 30 deletions(-) delete mode 100644 .github/workflows/sync-branches.yml diff --git a/.github/workflows/sync-branches.yml b/.github/workflows/sync-branches.yml deleted file mode 100644 index e4775cd6ff..0000000000 --- a/.github/workflows/sync-branches.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: Sync branches - -on: - push: - branches: - - main - -# Limit permissions -permissions: - contents: write - -jobs: - sync: - name: Sync branches - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Synchronize source to target branch - run: | - git checkout -f "${SOURCE_BRANCH}" - git checkout -f -b "${TARGET_BRANCH}" - git rebase "${SOURCE_BRANCH}" - git --no-pager log -n1 --pretty=oneline - git rev-parse --abbrev-ref HEAD - git push origin "${TARGET_BRANCH}" - env: - SOURCE_BRANCH: main - TARGET_BRANCH: stable