Skip to content

Sync

Sync #17836

Workflow file for this run

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