From 523716da12d217bc3df87de4ea7019ba4931c3d7 Mon Sep 17 00:00:00 2001 From: REDDERD <143699981+REDDERD@users.noreply.github.com> Date: Fri, 22 Sep 2023 11:43:15 +0200 Subject: [PATCH 1/2] Update sync-test-deploy-branch.yaml --- .../workflows/sync-test-deploy-branch.yaml | 29 +++++++++++-------- 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/.github/workflows/sync-test-deploy-branch.yaml b/.github/workflows/sync-test-deploy-branch.yaml index aa9c71f..7d37e13 100644 --- a/.github/workflows/sync-test-deploy-branch.yaml +++ b/.github/workflows/sync-test-deploy-branch.yaml @@ -5,16 +5,21 @@ on: branches: - main -jobs: - sync: - runs-on: ubuntu-latest - steps: - - name: Checkout repository - uses: actions/checkout@v2 - with: - ref: main - fetch-depth: 0 # Fetch all history for all branches and tags. +- name: Sync Branch Action + # You may pin to the exact commit or the version. + # uses: lucasruy/sync-branch-action@2208081dfed383bf8e9c13ce862061a3e7a58239 + uses: lucasruy/sync-branch-action@v1.2.0 + with: + # User token to be associated with this pull request. + GITHUB_TOKEN: + # Branch where you implemented your new code. + SOURCE_BRANCH: main + # Branch you want to send your new code. + DESTINATION_BRANCH: test-deployment + # Standard title for your update pull request. Default is: "update: {FROM_BRANCH} to {TO_BRANCH}" + PULL_REQUEST_TITLE: # optional + # Content with description for your automated pull. Default is: "This is an automatic PullRequest to keep {BASE_BRANCH} up to date with {FROM_BRANCH}!" + PULL_REQUEST_BODY: # optional + # Pull Request label. Default is: "" + PULL_REQUEST_LABEL: # optional - - name: Push to test-deployment branch - run: | - git push origin HEAD:refs/heads/test-deployment From 231dac52c46071d3f2b9baa27aa3ceddec0e58f9 Mon Sep 17 00:00:00 2001 From: REDDERD <143699981+REDDERD@users.noreply.github.com> Date: Fri, 22 Sep 2023 13:04:20 +0200 Subject: [PATCH 2/2] Update sync-test-deploy-branch.yaml --- .github/workflows/sync-test-deploy-branch.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sync-test-deploy-branch.yaml b/.github/workflows/sync-test-deploy-branch.yaml index 7d37e13..8e614a8 100644 --- a/.github/workflows/sync-test-deploy-branch.yaml +++ b/.github/workflows/sync-test-deploy-branch.yaml @@ -11,7 +11,7 @@ on: uses: lucasruy/sync-branch-action@v1.2.0 with: # User token to be associated with this pull request. - GITHUB_TOKEN: + # GITHUB_TOKEN: # Branch where you implemented your new code. SOURCE_BRANCH: main # Branch you want to send your new code.