From c0981325191df788014c9709aa0e008b05e44897 Mon Sep 17 00:00:00 2001 From: stendler Date: Mon, 22 Jul 2024 16:50:40 +0200 Subject: [PATCH] fork: rebase action to keep in sync with upstream --- .../workflows/v3-rebase-dev-onto-upstream.yml | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/v3-rebase-dev-onto-upstream.yml diff --git a/.github/workflows/v3-rebase-dev-onto-upstream.yml b/.github/workflows/v3-rebase-dev-onto-upstream.yml new file mode 100644 index 00000000000..3c15cabdbdf --- /dev/null +++ b/.github/workflows/v3-rebase-dev-onto-upstream.yml @@ -0,0 +1,29 @@ +name: Rebase v3/dev fork onto upstream v3-alpha + +on: + schedule: + - cron: '0 7 * * 1,4' + # scheduled at 07:00 every Monday and Thursday + +jobs: + sync_latest_from_upstream: + runs-on: ubuntu-latest + name: Sync latest commits from upstream repo + + steps: + # Step 1: run a standard checkout action, provided by github + - name: Checkout target repo + uses: actions/checkout@v3 + with: + # optional: set the branch to checkout, + ref: v3/dev + # REQUIRED if your upstream repo is private (see wiki) + persist-credentials: false + + # Step 2: run the sync action + - name: Rebase onto upstream changes + id: sync + uses: imba-tjd/rebase-upstream-action@0.5 + with: + branch: v3-alpha + upstream: wailsapp/wails