From 6efef83e33347a8cdc27505c83f941e024983a52 Mon Sep 17 00:00:00 2001 From: RafaelGSS Date: Mon, 22 Sep 2025 19:19:56 -0300 Subject: [PATCH 1/3] tools: use dependabot cooldown and move tools/doc Refs: https://github.com/nodejs/node/issues/59911 --- .github/dependabot.yml | 30 ++++++++++++++++++++++++++++++ .github/workflows/tools.yml | 17 ----------------- 2 files changed, 30 insertions(+), 17 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index b9770e23a2e353..f8e0256e9fbcf6 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -6,6 +6,11 @@ updates: directory: / schedule: interval: monthly + cooldown: + - semver-major: 5 + - semver-minor: 5 + - semver-patch: 5 + commit-message: prefix: meta open-pull-requests-limit: ${{secrets.OPEN_PR_LIMIT}} @@ -14,6 +19,10 @@ updates: directory: /tools/eslint schedule: interval: monthly + cooldown: + - semver-major: 5 + - semver-minor: 5 + - semver-patch: 5 commit-message: prefix: tools open-pull-requests-limit: ${{secrets.OPEN_PR_LIMIT}} @@ -27,6 +36,10 @@ updates: directory: /tools/lint-md schedule: interval: monthly + cooldown: + - semver-major: 5 + - semver-minor: 5 + - semver-patch: 5 commit-message: prefix: tools open-pull-requests-limit: ${{secrets.OPEN_PR_LIMIT}} @@ -35,3 +48,20 @@ updates: applies-to: version-updates patterns: - '*' + + - package-ecosystem: npm + directory: /tools/doc + schedule: + interval: weekly + cooldown: + - semver-major: 5 + - semver-minor: 5 + - semver-patch: 5 + commit-message: + prefix: tools + open-pull-requests-limit: ${{secrets.OPEN_PR_LIMIT}} + groups: + doc: + applies-to: version-updates + patterns: + - '*' \ No newline at end of file diff --git a/.github/workflows/tools.yml b/.github/workflows/tools.yml index 2e8ffd22534691..5ee73cd0cfb93f 100644 --- a/.github/workflows/tools.yml +++ b/.github/workflows/tools.yml @@ -21,7 +21,6 @@ on: - c-ares - cjs-module-lexer - corepack - - doc - googletest - gyp-next - histogram @@ -118,22 +117,6 @@ jobs: run: | make corepack-update echo "NEW_VERSION=$(node deps/corepack/dist/corepack.js --version)" >> $GITHUB_ENV - - id: doc - subsystem: tools - label: tools - run: | - cd tools/doc - npm ci - NEW_VERSION=$(npm outdated --parseable | cut -d: -f4 | xargs) - if [ "$NEW_VERSION" != "" ]; then - echo "NEW_VERSION=new version" >> $GITHUB_ENV - rm -rf package-lock.json node_modules - # Include $NEW_VERSION to explicitly update the package.json - # entry for the dependency and also so that semver-major updates - # are not skipped. - npm install --ignore-scripts $NEW_VERSION - npm install --ignore-scripts - fi - id: googletest subsystem: deps label: dependencies, test From 60f3b10d9d5aa9f383e3522dbe3299e39c5e07ab Mon Sep 17 00:00:00 2001 From: RafaelGSS Date: Mon, 22 Sep 2025 19:23:48 -0300 Subject: [PATCH 2/3] fixup! tools: use dependabot cooldown and move tools/doc --- .github/dependabot.yml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index f8e0256e9fbcf6..a9cedff388e8a4 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -7,9 +7,9 @@ updates: schedule: interval: monthly cooldown: - - semver-major: 5 - - semver-minor: 5 - - semver-patch: 5 + - semver-major: 5 + - semver-minor: 5 + - semver-patch: 5 commit-message: prefix: meta @@ -20,9 +20,9 @@ updates: schedule: interval: monthly cooldown: - - semver-major: 5 - - semver-minor: 5 - - semver-patch: 5 + - semver-major: 5 + - semver-minor: 5 + - semver-patch: 5 commit-message: prefix: tools open-pull-requests-limit: ${{secrets.OPEN_PR_LIMIT}} @@ -37,9 +37,9 @@ updates: schedule: interval: monthly cooldown: - - semver-major: 5 - - semver-minor: 5 - - semver-patch: 5 + - semver-major: 5 + - semver-minor: 5 + - semver-patch: 5 commit-message: prefix: tools open-pull-requests-limit: ${{secrets.OPEN_PR_LIMIT}} @@ -54,9 +54,9 @@ updates: schedule: interval: weekly cooldown: - - semver-major: 5 - - semver-minor: 5 - - semver-patch: 5 + - semver-major: 5 + - semver-minor: 5 + - semver-patch: 5 commit-message: prefix: tools open-pull-requests-limit: ${{secrets.OPEN_PR_LIMIT}} @@ -64,4 +64,4 @@ updates: doc: applies-to: version-updates patterns: - - '*' \ No newline at end of file + - '*' From 3c6994837be9432fa51798640313ed47f65b22a9 Mon Sep 17 00:00:00 2001 From: RafaelGSS Date: Tue, 23 Sep 2025 11:16:19 -0300 Subject: [PATCH 3/3] fixup! fixup! tools: use dependabot cooldown and move tools/doc --- .github/dependabot.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index a9cedff388e8a4..9cc673d5a62fe7 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -7,9 +7,9 @@ updates: schedule: interval: monthly cooldown: - - semver-major: 5 - - semver-minor: 5 - - semver-patch: 5 + - semver-major-days: 5 + - semver-minor-days: 5 + - semver-patch-days: 5 commit-message: prefix: meta @@ -20,9 +20,9 @@ updates: schedule: interval: monthly cooldown: - - semver-major: 5 - - semver-minor: 5 - - semver-patch: 5 + - semver-major-days: 5 + - semver-minor-days: 5 + - semver-patch-days: 5 commit-message: prefix: tools open-pull-requests-limit: ${{secrets.OPEN_PR_LIMIT}} @@ -37,9 +37,9 @@ updates: schedule: interval: monthly cooldown: - - semver-major: 5 - - semver-minor: 5 - - semver-patch: 5 + - semver-major-days: 5 + - semver-minor-days: 5 + - semver-patch-days: 5 commit-message: prefix: tools open-pull-requests-limit: ${{secrets.OPEN_PR_LIMIT}} @@ -54,9 +54,9 @@ updates: schedule: interval: weekly cooldown: - - semver-major: 5 - - semver-minor: 5 - - semver-patch: 5 + - semver-major-days: 5 + - semver-minor-days: 5 + - semver-patch-days: 5 commit-message: prefix: tools open-pull-requests-limit: ${{secrets.OPEN_PR_LIMIT}}