From 265240ca19895a16a196991bd2c5648a38c03249 Mon Sep 17 00:00:00 2001 From: Brian Smith <112954497+brian-smith-tcril@users.noreply.github.com> Date: Thu, 12 Dec 2024 12:17:51 -0500 Subject: [PATCH] chore: add workflow to sync next with 23.x (#3354) --- .github/workflows/sync-23-next.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/sync-23-next.yml diff --git a/.github/workflows/sync-23-next.yml b/.github/workflows/sync-23-next.yml new file mode 100644 index 0000000000..ccd8ec2126 --- /dev/null +++ b/.github/workflows/sync-23-next.yml @@ -0,0 +1,30 @@ +name: Sync next with 23.x +on: + push: + branches: + - release-23.x + workflow_dispatch: + +jobs: + sync-branches: + runs-on: ubuntu-latest + name: Syncing branches + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Set up Node + uses: actions/setup-node@v4 + with: + node-version-file: '.nvmrc' + - name: Create Pull Request + id: cpr + uses: tretuna/sync-branches@1.4.0 + with: + GITHUB_TOKEN: ${{ secrets.requirements_bot_github_token }} + FROM_BRANCH: release-23.x + TO_BRANCH: next + - name: Enable Pull Request Automerge + uses: peter-evans/enable-pull-request-automerge@v2 + with: + token: ${{ secrets.requirements_bot_github_token }} + pull-request-number: ${{ steps.cpr.outputs.PULL_REQUEST_NUMBER }}