Skip to content

Commit

Permalink
fork: rebase action to keep in sync with upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
stendler committed Jul 22, 2024
1 parent d170668 commit 7164160
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/v3-rebase-dev-onto-upstream.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Rebase v3/dev fork onto upstream v3-alpha

on:
schedule:
- cron: '0 7 * * 1,4'
# scheduled at 07:00 every Monday and Thursday
workflow_dispatch: # click the button on Github repo!

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

0 comments on commit 7164160

Please sign in to comment.