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 7, 2021
1 parent 4fec426 commit a4e3bab
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 @@ -4,7 +4,7 @@ updates:
directory: '/'
schedule:
interval: 'weekly'
open-pull-requests-limit: 10
open-pull-requests-limit: 0
labels:
- 'theme: jhipster-internals'
- 'theme: dependencies'
Expand All @@ -19,7 +19,7 @@ updates:
directory: '/generators/client/templates/angular/'
schedule:
interval: 'daily'
open-pull-requests-limit: 5
open-pull-requests-limit: 0
versioning-strategy: increase
labels:
- 'theme: angular'
Expand All @@ -32,7 +32,7 @@ updates:
directory: '/generators/common/templates/'
schedule:
interval: 'daily'
open-pull-requests-limit: 5
open-pull-requests-limit: 0
versioning-strategy: increase
labels:
- 'theme: dependencies'
Expand All @@ -41,7 +41,7 @@ updates:
directory: '/generators/client/templates/common/'
schedule:
interval: 'daily'
open-pull-requests-limit: 5
open-pull-requests-limit: 0
versioning-strategy: increase
labels:
- 'theme: front'
Expand All @@ -51,7 +51,7 @@ updates:
directory: '/generators/client/templates/react/'
schedule:
interval: 'daily'
open-pull-requests-limit: 5
open-pull-requests-limit: 0
versioning-strategy: increase
labels:
- 'theme: react'
Expand All @@ -61,7 +61,7 @@ updates:
directory: '/generators/client/templates/vue/'
schedule:
interval: 'daily'
open-pull-requests-limit: 5
open-pull-requests-limit: 0
versioning-strategy: increase
labels:
- 'theme: vue'
Expand All @@ -71,7 +71,7 @@ updates:
directory: '/'
schedule:
interval: 'weekly'
open-pull-requests-limit: 10
open-pull-requests-limit: 0
labels:
- 'theme: github_actions'
- 'theme: CI builds'
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 a4e3bab

Please sign in to comment.