forked from meow-edit/meow
-
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.
- Loading branch information
1 parent
d225d2f
commit 4f1eb7b
Showing
1 changed file
with
27 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,27 @@ | ||
# https://github.com/imba-tjd/rebase-upstream-action/blob/master/action.yml#L20C3-L20C7 | ||
# .github/workflows/sync.yml | ||
name: Rebase Upstream | ||
on: | ||
schedule: | ||
# https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions | ||
- cron: "20 20 * * *" # run once a day | ||
# - cron: "0 0 * * 0" # run once a week | ||
workflow_dispatch: # run manually | ||
|
||
jobs: | ||
sync: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
with: | ||
# https://github.com/actions/checkout | ||
fetch-depth: 0 # greater than the number of commits you made | ||
- uses: jixiuf/rebase-upstream-action@master | ||
with: # all args are optional | ||
upstream: meow-edit/meow | ||
branch: master | ||
depth: 0 | ||
|
||
# with: # all args are optional | ||
# upstream: <user>/<repo> | ||
# branch: master |