Skip to content

Commit

Permalink
[skip ci] Add sync workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mshima committed Apr 11, 2021
1 parent fe0ee3a commit 621065e
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
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 "marceloshima@gmail.com"
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 rebase upstream/main
git push -f origin

0 comments on commit 621065e

Please sign in to comment.