Skip to content

Commit

Permalink
add sync-upstream action
Browse files Browse the repository at this point in the history
  • Loading branch information
wKich committed Mar 21, 2021
1 parent 4d03de9 commit 6e8f60c
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/sync-rebase.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Sync and Rebase

on:
schedule:
- cron: '0 0 * * *' # every day
workflow_dispatch: # on button click

jobs:
sync:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Sync with upstream
run: |
git remote add upstream [email protected]:storybookjs/storybook.git
git fetch upstream
git merge upstream/master
git push
- name: Rebase creevey branch
run: |
git checkout creevey
git rebase master
git push --force

0 comments on commit 6e8f60c

Please sign in to comment.