diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml index e94bc1d0ea..5fc306b945 100644 --- a/.github/workflows/sync.yml +++ b/.github/workflows/sync.yml @@ -1,4 +1,4 @@ ---- # --------------------------------------------------------------------------- +--- # --------------------------------------------------------------------------- # Licensed to the Apache Software Foundation (ASF) under one or more @@ -16,17 +16,15 @@ # See the License for the specific language governing permissions and # limitations under the License. name: sync - on: schedule: - cron: "22 22 * * *" workflow_dispatch: - jobs: sync: strategy: matrix: - branch: ["release-1.8.x", "release-1.9.x", "release-1.10.x"] + branch: ["release-1.8.x", "release-1.9.x", "release-1.10.x", "release-2.0.x"] runs-on: ubuntu-20.04 steps: - name: Set up JDK 11 @@ -50,7 +48,7 @@ jobs: - name: Git set bot identity env: CI_USER: "github-actions[bot]" - CI_EMAIL: "41898282+github-actions[bot]@users.noreply.github.com" + CI_EMAIL: "41898282+github-actions[bot]@users.noreply.github.com" run: | git config --local user.email "$CI_EMAIL" git config --local user.name "$CI_USER" @@ -68,9 +66,7 @@ jobs: - name: Pin init directory divergencies uses: squakez/sync-pin-divergencies@v0 with: - init-directory: "ci/downstream" - - name: Git push + init-directory: "ci/downstream" + - name: Git push run: | git push origin HEAD:${{ matrix.branch }} - -