From fd7df806d82a646f6a27885ab5c9d763274cbb7f Mon Sep 17 00:00:00 2001 From: Marcelo Boveto Shima Date: Fri, 30 Oct 2020 23:10:41 -0300 Subject: [PATCH 1/5] [skip ci] Sync workflow --- .github/dependabot.yml | 18 +++++++++--------- .github/workflows/sync.yml | 24 ++++++++++++++++++++++++ 2 files changed, 33 insertions(+), 9 deletions(-) create mode 100644 .github/workflows/sync.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 581792f5ff40..7053698ded7e 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -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' @@ -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' @@ -98,7 +98,7 @@ updates: schedule: interval: 'daily' time: '00:00' - open-pull-requests-limit: 10 + open-pull-requests-limit: 0 versioning-strategy: increase labels: - 'theme: dependencies' @@ -110,7 +110,7 @@ updates: schedule: interval: 'daily' time: '07:00' - open-pull-requests-limit: 10 + open-pull-requests-limit: 0 versioning-strategy: increase labels: - 'theme: front' @@ -135,7 +135,7 @@ updates: schedule: interval: 'daily' time: '01:00' - open-pull-requests-limit: 10 + open-pull-requests-limit: 0 versioning-strategy: increase labels: - 'theme: react' @@ -169,7 +169,7 @@ updates: schedule: interval: 'daily' time: '02:00' - open-pull-requests-limit: 10 + open-pull-requests-limit: 0 versioning-strategy: increase labels: - 'theme: vue' @@ -199,7 +199,7 @@ updates: schedule: interval: 'daily' time: '00:20' - open-pull-requests-limit: 5 + open-pull-requests-limit: 0 labels: - 'theme: dependencies' - 'theme: docker :whale:' @@ -215,7 +215,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' @@ -248,7 +248,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' 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 From d54522e448352583e64aeec44996df9f8125080a Mon Sep 17 00:00:00 2001 From: Marcelo Shima Date: Fri, 24 Mar 2023 09:57:26 -0300 Subject: [PATCH 2/5] [skip ci] adjusts --- .github/dependabot.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 7053698ded7e..f45a3545e02f 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -226,7 +226,7 @@ updates: schedule: interval: 'daily' time: '08:00' - open-pull-requests-limit: 5 + open-pull-requests-limit: 0 labels: - 'theme: dependencies' - 'theme: java' From 877e034490125bda0afa18437bf7466b23c98e94 Mon Sep 17 00:00:00 2001 From: Marcelo Shima Date: Sat, 28 Oct 2023 14:45:00 -0300 Subject: [PATCH 3/5] Update sync.yml --- .github/workflows/sync.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml index 2b47af218b7d..bde7e0ddf4b1 100644 --- a/.github/workflows/sync.yml +++ b/.github/workflows/sync.yml @@ -22,3 +22,8 @@ jobs: git branch -va git rebase upstream/main git push -f origin + git branch upstream-main upstream/main + #git fetch origin upstream_main + #git checkout upstream_main + #git rebase upstream/main + git push origin upstream-main From 588ab387da47d2ff8ee233e0751d85a0fc2b24ad Mon Sep 17 00:00:00 2001 From: Marcelo Shima Date: Thu, 28 Mar 2024 15:58:39 -0300 Subject: [PATCH 4/5] Update sync.yml --- .github/workflows/sync.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml index bde7e0ddf4b1..6b48009ca061 100644 --- a/.github/workflows/sync.yml +++ b/.github/workflows/sync.yml @@ -20,10 +20,11 @@ jobs: git remote -v git fetch upstream main git branch -va + git branch upstream-main upstream/main + git push origin upstream-main + git checkout main git rebase upstream/main git push -f origin - git branch upstream-main upstream/main #git fetch origin upstream_main #git checkout upstream_main #git rebase upstream/main - git push origin upstream-main From 4e5faeadb3b6fcef3dfa642f3fbc2be43013e9b2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 Jul 2024 00:56:17 +0000 Subject: [PATCH 5/5] Bump husky from 9.1.2 to 9.1.3 in /generators/javascript/resources Bumps [husky](https://github.com/typicode/husky) from 9.1.2 to 9.1.3. - [Release notes](https://github.com/typicode/husky/releases) - [Commits](https://github.com/typicode/husky/compare/v9.1.2...v9.1.3) --- updated-dependencies: - dependency-name: husky dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- generators/javascript/resources/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generators/javascript/resources/package.json b/generators/javascript/resources/package.json index 8aa1a6d6b7e6..ce5013ac9990 100644 --- a/generators/javascript/resources/package.json +++ b/generators/javascript/resources/package.json @@ -2,7 +2,7 @@ "dependencies": { "eslint-config-prettier": "9.1.0", "eslint-plugin-prettier": "5.2.1", - "husky": "9.1.2", + "husky": "9.1.3", "lint-staged": "15.2.7" } }