forked from jhipster/generator-jhipster
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Showing
2 changed files
with
42 additions
and
12 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
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: 'Sync' | ||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '10 */2 * * *' | ||
|
||
jobs: | ||
sync: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 'SETUP: Checkout generator-jhipster' | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- name: 'Rebase' | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "Marcelo Shima" | ||
git remote add upstream https://github.com/jhipster/generator-jhipster.git | ||
git remote -v | ||
git fetch upstream main | ||
git branch -va | ||
git branch upstream-main upstream/main | ||
git push origin upstream-main | ||
git checkout main | ||
git rebase upstream/main | ||
git push -f origin | ||
#git fetch origin upstream_main | ||
#git checkout upstream_main | ||
#git rebase upstream/main |