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 25, 2022
1 parent 8cf1d3d commit ddeb8ac
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 @@ -28,7 +28,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 @@ -44,7 +44,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 @@ -55,7 +55,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 @@ -67,7 +67,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 @@ -83,7 +83,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 @@ -104,7 +104,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 "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 ddeb8ac

Please sign in to comment.