From 09c7bdff29c6c0b082d679a3e18b1cc17d4ab9fb Mon Sep 17 00:00:00 2001 From: Charles Blackmon-Luca <20627856+charlesbluca@users.noreply.github.com> Date: Fri, 25 Mar 2022 16:18:56 -0400 Subject: [PATCH] Add workflow to keep datafusion dev branch up to date (#440) --- .github/workflows/datafusion-sync.yml | 30 +++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/datafusion-sync.yml diff --git a/.github/workflows/datafusion-sync.yml b/.github/workflows/datafusion-sync.yml new file mode 100644 index 000000000..fd544eeae --- /dev/null +++ b/.github/workflows/datafusion-sync.yml @@ -0,0 +1,30 @@ +name: Keep datafusion branch up to date +on: + push: + branches: + - main + +# When this workflow is queued, automatically cancel any previous running +# or pending jobs +concurrency: + group: datafusion-sync + cancel-in-progress: true + +jobs: + sync-branches: + runs-on: ubuntu-latest + if: github.repository == 'dask-contrib/dask-sql' + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Set up Node + uses: actions/setup-node@v2 + with: + node-version: 12 + - name: Opening pull request + id: pull + uses: tretuna/sync-branches@1.4.0 + with: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + FROM_BRANCH: main + TO_BRANCH: datafusion-sql-planner