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 Nov 23, 2023
1 parent 7d7b8cc commit 06f109e
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ updates:
interval: 'daily'
# Before cache workflow
time: '23:00'
open-pull-requests-limit: 10
open-pull-requests-limit: 0
labels:
- 'theme: jhipster-internals'
- 'theme: dependencies'
Expand Down Expand Up @@ -59,7 +59,7 @@ updates:
interval: 'daily'
# Angular workflow is quite big. Give at least 2h interval.
time: '03:00'
open-pull-requests-limit: 10
open-pull-requests-limit: 0
versioning-strategy: increase
labels:
- 'theme: angular'
Expand Down Expand Up @@ -96,7 +96,7 @@ updates:
schedule:
interval: 'daily'
time: '00:00'
open-pull-requests-limit: 10
open-pull-requests-limit: 0
versioning-strategy: increase
labels:
- 'theme: dependencies'
Expand All @@ -108,7 +108,7 @@ updates:
schedule:
interval: 'daily'
time: '07:00'
open-pull-requests-limit: 10
open-pull-requests-limit: 0
versioning-strategy: increase
labels:
- 'theme: front'
Expand All @@ -121,7 +121,7 @@ updates:
schedule:
interval: 'daily'
time: '01:00'
open-pull-requests-limit: 10
open-pull-requests-limit: 0
versioning-strategy: increase
labels:
- 'theme: react'
Expand All @@ -142,7 +142,7 @@ updates:
schedule:
interval: 'daily'
time: '02:00'
open-pull-requests-limit: 10
open-pull-requests-limit: 0
versioning-strategy: increase
labels:
- 'theme: vue'
Expand All @@ -165,7 +165,7 @@ updates:
schedule:
interval: 'daily'
time: '00:20'
open-pull-requests-limit: 5
open-pull-requests-limit: 0
labels:
- 'theme: dependencies'
- 'theme: docker :whale:'
Expand All @@ -177,7 +177,7 @@ updates:
interval: 'daily'
# Maven doesn't have many PRs, but it triggers every client workflow. Let 2h of interval.
time: '05:00'
open-pull-requests-limit: 5
open-pull-requests-limit: 0
labels:
- 'theme: dependencies'
- 'theme: java'
Expand All @@ -199,7 +199,7 @@ updates:
schedule:
interval: 'weekly'
time: '00:30'
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 06f109e

Please sign in to comment.