From edac3fde5c2c134e0beefed777159f1f23a1f55f Mon Sep 17 00:00:00 2001 From: Luke Sikina Date: Tue, 11 Jun 2024 16:02:53 -0400 Subject: [PATCH] [ALS-0000] mv --- .github/workflows/sync_release.yml | 31 ++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/sync_release.yml diff --git a/.github/workflows/sync_release.yml b/.github/workflows/sync_release.yml new file mode 100644 index 0000000..b29af51 --- /dev/null +++ b/.github/workflows/sync_release.yml @@ -0,0 +1,31 @@ +name: Update Test Branch + +on: + push: + branches: [main] + +permissions: write-all + +jobs: + sync: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + with: + fetch-depth: 0 + + - name: Setup Git User + run: | + git config user.name "GitHub Action" + git config user.email "" + + - name: Update Test Branch + run: | + git checkout main + git fetch origin + git checkout release + git pull + git rebase origin/main + git push origin release --force +