forked from wailsapp/wails
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fork: rebase action to keep in sync with upstream
- Loading branch information
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |