Skip to content

Commit

Permalink
[skip ci] Sync workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mshima committed Aug 18, 2022
1 parent 90b5d7c commit e1b40c0
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ updates:
rebase-strategy: 'auto'
schedule:
interval: 'weekly'
open-pull-requests-limit: 10
open-pull-requests-limit: 0
labels:
- 'theme: jhipster-internals'
- 'theme: dependencies'
Expand All @@ -26,7 +26,7 @@ updates:
rebase-strategy: 'auto'
schedule:
interval: 'daily'
open-pull-requests-limit: 10
open-pull-requests-limit: 0
versioning-strategy: increase
labels:
- 'theme: angular'
Expand All @@ -42,7 +42,7 @@ updates:
rebase-strategy: 'auto'
schedule:
interval: 'daily'
open-pull-requests-limit: 10
open-pull-requests-limit: 0
versioning-strategy: increase
labels:
- 'theme: dependencies'
Expand All @@ -53,7 +53,7 @@ updates:
rebase-strategy: 'auto'
schedule:
interval: 'daily'
open-pull-requests-limit: 10
open-pull-requests-limit: 0
versioning-strategy: increase
labels:
- 'theme: front'
Expand All @@ -65,7 +65,7 @@ updates:
rebase-strategy: 'auto'
schedule:
interval: 'daily'
open-pull-requests-limit: 10
open-pull-requests-limit: 0
versioning-strategy: increase
labels:
- 'theme: react'
Expand All @@ -81,7 +81,7 @@ updates:
rebase-strategy: 'auto'
schedule:
interval: 'daily'
open-pull-requests-limit: 10
open-pull-requests-limit: 0
versioning-strategy: increase
labels:
- 'theme: vue'
Expand All @@ -102,7 +102,7 @@ updates:
directory: '/'
schedule:
interval: 'weekly'
open-pull-requests-limit: 10
open-pull-requests-limit: 0
labels:
- 'theme: github_actions'
- 'theme: CI builds'
Expand Down
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 "[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 rebase upstream/main
git push -f origin

0 comments on commit e1b40c0

Please sign in to comment.