diff --git a/.github/dependabot.yml b/.github/dependabot.yml index b9770e23a2e353..9cc673d5a62fe7 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -6,6 +6,11 @@ updates: directory: / schedule: interval: monthly + cooldown: + - semver-major-days: 5 + - semver-minor-days: 5 + - semver-patch-days: 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-days: 5 + - semver-minor-days: 5 + - semver-patch-days: 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-days: 5 + - semver-minor-days: 5 + - semver-patch-days: 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-days: 5 + - semver-minor-days: 5 + - semver-patch-days: 5 + commit-message: + prefix: tools + open-pull-requests-limit: ${{secrets.OPEN_PR_LIMIT}} + groups: + doc: + applies-to: version-updates + patterns: + - '*' 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