From 80b1936f2435381ffc8086301af8b89133f91723 Mon Sep 17 00:00:00 2001 From: Marcelo Boveto Shima Date: Fri, 30 Oct 2020 23:10:41 -0300 Subject: [PATCH] [skip ci] Sync workflow --- .github/dependabot.yml | 14 +++++++------- .github/workflows/sync.yml | 24 ++++++++++++++++++++++++ 2 files changed, 31 insertions(+), 7 deletions(-) create mode 100644 .github/workflows/sync.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml index e1a671f3d7b4..18f2e2556c32 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -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' @@ -13,7 +13,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' @@ -23,7 +23,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' @@ -32,7 +32,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' @@ -42,7 +42,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' @@ -52,7 +52,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' @@ -62,7 +62,7 @@ updates: directory: '/' schedule: interval: 'weekly' - open-pull-requests-limit: 10 + open-pull-requests-limit: 0 labels: - 'theme: github_actions' - 'theme: CI builds' diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml new file mode 100644 index 000000000000..2b47af218b7d --- /dev/null +++ b/.github/workflows/sync.yml @@ -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