From 1ace631c3f9071ca2874e45b0b9f2c286420f62a Mon Sep 17 00:00:00 2001 From: Chris Arriola Date: Wed, 24 Jan 2024 11:33:58 -0800 Subject: [PATCH] Create a new workflow to keep main and latest in sync. --- .github/workflows/sync_main_latest.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/sync_main_latest.yml diff --git a/.github/workflows/sync_main_latest.yml b/.github/workflows/sync_main_latest.yml new file mode 100644 index 00000000..4573b3d6 --- /dev/null +++ b/.github/workflows/sync_main_latest.yml @@ -0,0 +1,20 @@ +name: Sync main and latest +on: + push: + branches: + - main + +jobs: + sync-branches: + runs-on: ubuntu-latest + name: Syncing branches + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Opening pull request + id: pull + uses: tretuna/sync-branches@1.4.0 + with: + GITHUB_TOKEN: ${{secrets.PAT}} + FROM_BRANCH: "main" + TO_BRANCH: "latest"