Skip to content

Commit d240edd

Browse files
committed
[skip ci] Sync workflow
1 parent 77f57d7 commit d240edd

File tree

2 files changed

+31
-7
lines changed

2 files changed

+31
-7
lines changed

.github/dependabot.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ updates:
55
rebase-strategy: 'auto'
66
schedule:
77
interval: 'weekly'
8-
open-pull-requests-limit: 10
8+
open-pull-requests-limit: 0
99
labels:
1010
- 'theme: jhipster-internals'
1111
- 'theme: dependencies'
@@ -20,7 +20,7 @@ updates:
2020
rebase-strategy: 'auto'
2121
schedule:
2222
interval: 'daily'
23-
open-pull-requests-limit: 10
23+
open-pull-requests-limit: 0
2424
versioning-strategy: increase
2525
labels:
2626
- 'theme: angular'
@@ -36,7 +36,7 @@ updates:
3636
rebase-strategy: 'auto'
3737
schedule:
3838
interval: 'daily'
39-
open-pull-requests-limit: 10
39+
open-pull-requests-limit: 0
4040
versioning-strategy: increase
4141
labels:
4242
- 'theme: dependencies'
@@ -47,7 +47,7 @@ updates:
4747
rebase-strategy: 'auto'
4848
schedule:
4949
interval: 'daily'
50-
open-pull-requests-limit: 10
50+
open-pull-requests-limit: 0
5151
versioning-strategy: increase
5252
labels:
5353
- 'theme: front'
@@ -59,7 +59,7 @@ updates:
5959
rebase-strategy: 'auto'
6060
schedule:
6161
interval: 'daily'
62-
open-pull-requests-limit: 10
62+
open-pull-requests-limit: 0
6363
versioning-strategy: increase
6464
labels:
6565
- 'theme: react'
@@ -75,7 +75,7 @@ updates:
7575
rebase-strategy: 'auto'
7676
schedule:
7777
interval: 'daily'
78-
open-pull-requests-limit: 10
78+
open-pull-requests-limit: 0
7979
versioning-strategy: increase
8080
labels:
8181
- 'theme: vue'
@@ -96,7 +96,7 @@ updates:
9696
directory: '/'
9797
schedule:
9898
interval: 'weekly'
99-
open-pull-requests-limit: 10
99+
open-pull-requests-limit: 0
100100
labels:
101101
- 'theme: github_actions'
102102
- 'theme: CI builds'

.github/workflows/sync.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: 'Sync'
2+
on:
3+
workflow_dispatch:
4+
schedule:
5+
- cron: '10 */2 * * *'
6+
7+
jobs:
8+
sync:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: 'SETUP: Checkout generator-jhipster'
12+
uses: actions/checkout@v2
13+
with:
14+
fetch-depth: 0
15+
- name: 'Rebase'
16+
run: |
17+
git config --global user.email "[email protected]"
18+
git config --global user.name "Marcelo Shima"
19+
git remote add upstream https://github.com/jhipster/generator-jhipster.git
20+
git remote -v
21+
git fetch upstream main
22+
git branch -va
23+
git rebase upstream/main
24+
git push -f origin

0 commit comments

Comments
 (0)