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 Feb 26, 2022
1 parent bb282e7 commit 3e60070
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
rebase-strategy: 'disabled'
labels:
- 'theme: jhipster-internals'
Expand All @@ -22,7 +22,7 @@ updates:
directory: '/generators/client/templates/angular/'
schedule:
interval: 'daily'
open-pull-requests-limit: 10
open-pull-requests-limit: 0
rebase-strategy: 'disabled'
versioning-strategy: increase
labels:
Expand All @@ -40,7 +40,7 @@ updates:
directory: '/generators/common/templates/'
schedule:
interval: 'daily'
open-pull-requests-limit: 10
open-pull-requests-limit: 0
rebase-strategy: 'disabled'
versioning-strategy: increase
labels:
Expand All @@ -50,7 +50,7 @@ updates:
directory: '/generators/client/templates/common/'
schedule:
interval: 'daily'
open-pull-requests-limit: 10
open-pull-requests-limit: 0
rebase-strategy: 'disabled'
versioning-strategy: increase
labels:
Expand All @@ -61,7 +61,7 @@ updates:
directory: '/generators/client/templates/react/'
schedule:
interval: 'daily'
open-pull-requests-limit: 10
open-pull-requests-limit: 0
rebase-strategy: 'disabled'
versioning-strategy: increase
labels:
Expand All @@ -76,7 +76,7 @@ updates:
directory: '/generators/client/templates/vue/'
schedule:
interval: 'daily'
open-pull-requests-limit: 10
open-pull-requests-limit: 0
rebase-strategy: 'disabled'
versioning-strategy: increase
labels:
Expand All @@ -97,7 +97,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 3e60070

Please sign in to comment.