Skip to content

Commit 891f8ce

Browse files
committed
[skip ci] Sync workflow
1 parent fc5b7b8 commit 891f8ce

File tree

2 files changed

+42
-12
lines changed

2 files changed

+42
-12
lines changed

.github/dependabot.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ updates:
2626
interval: 'daily'
2727
# Before cache workflow
2828
time: '23:00'
29-
open-pull-requests-limit: 10
29+
open-pull-requests-limit: 0
3030
labels:
3131
- 'theme: jhipster-internals'
3232
- 'theme: dependencies'
@@ -46,7 +46,7 @@ updates:
4646
schedule:
4747
interval: 'daily'
4848
time: '12:00'
49-
open-pull-requests-limit: 10
49+
open-pull-requests-limit: 0
5050
versioning-strategy: increase
5151
labels:
5252
- 'blueprint :paw_prints:'
@@ -60,7 +60,7 @@ updates:
6060
interval: 'daily'
6161
# Angular workflow is quite big. Give at least 2h interval.
6262
time: '03:00'
63-
open-pull-requests-limit: 10
63+
open-pull-requests-limit: 0
6464
versioning-strategy: increase
6565
labels:
6666
- 'theme: angular'
@@ -101,7 +101,7 @@ updates:
101101
schedule:
102102
interval: 'daily'
103103
time: '00:00'
104-
open-pull-requests-limit: 10
104+
open-pull-requests-limit: 0
105105
versioning-strategy: increase
106106
labels:
107107
- 'theme: dependencies'
@@ -113,7 +113,7 @@ updates:
113113
schedule:
114114
interval: 'daily'
115115
time: '07:00'
116-
open-pull-requests-limit: 10
116+
open-pull-requests-limit: 0
117117
versioning-strategy: increase
118118
labels:
119119
- 'theme: front'
@@ -126,7 +126,7 @@ updates:
126126
schedule:
127127
interval: 'daily'
128128
time: '00:00'
129-
open-pull-requests-limit: 10
129+
open-pull-requests-limit: 0
130130
versioning-strategy: increase
131131
labels:
132132
- 'theme: dependencies'
@@ -138,7 +138,7 @@ updates:
138138
schedule:
139139
interval: 'daily'
140140
time: '01:00'
141-
open-pull-requests-limit: 10
141+
open-pull-requests-limit: 0
142142
versioning-strategy: increase
143143
labels:
144144
- 'theme: react'
@@ -173,7 +173,7 @@ updates:
173173
schedule:
174174
interval: 'daily'
175175
time: '02:00'
176-
open-pull-requests-limit: 10
176+
open-pull-requests-limit: 0
177177
versioning-strategy: increase
178178
labels:
179179
- 'theme: vue'
@@ -204,7 +204,7 @@ updates:
204204
schedule:
205205
interval: 'daily'
206206
time: '00:20'
207-
open-pull-requests-limit: 5
207+
open-pull-requests-limit: 0
208208
labels:
209209
- 'theme: dependencies'
210210
- 'theme: docker :whale:'
@@ -227,7 +227,7 @@ updates:
227227
interval: 'daily'
228228
# Maven doesn't have many PRs, but it triggers every client workflow. Let 2h of interval.
229229
time: '05:00'
230-
open-pull-requests-limit: 5
230+
open-pull-requests-limit: 0
231231
labels:
232232
- 'theme: dependencies'
233233
- 'theme: java'
@@ -238,7 +238,7 @@ updates:
238238
schedule:
239239
interval: 'daily'
240240
time: '08:00'
241-
open-pull-requests-limit: 5
241+
open-pull-requests-limit: 0
242242
labels:
243243
- 'theme: dependencies'
244244
- 'theme: java'
@@ -260,7 +260,7 @@ updates:
260260
schedule:
261261
interval: 'weekly'
262262
time: '00:30'
263-
open-pull-requests-limit: 10
263+
open-pull-requests-limit: 0
264264
labels:
265265
- 'theme: github_actions'
266266
- 'theme: CI builds'

.github/workflows/sync.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
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 branch upstream-main upstream/main
24+
git push origin upstream-main
25+
git checkout main
26+
git rebase upstream/main
27+
git push -f origin
28+
#git fetch origin upstream_main
29+
#git checkout upstream_main
30+
#git rebase upstream/main

0 commit comments

Comments
 (0)