Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 20d10a2

Browse filesBrowse files
RafaelGSStargos
authored andcommitted
tools: use dependabot cooldown and move tools/doc
Refs: #59911 PR-URL: #59978 Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
1 parent 354026d commit 20d10a2
Copy full SHA for 20d10a2

File tree

Expand file treeCollapse file tree

2 files changed

+30
-17
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

2 files changed

+30
-17
lines changed
Open diff view settings
Collapse file

‎.github/dependabot.yml‎

Copy file name to clipboardExpand all lines: .github/dependabot.yml
+30Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ updates:
66
directory: /
77
schedule:
88
interval: monthly
9+
cooldown:
10+
- semver-major-days: 5
11+
- semver-minor-days: 5
12+
- semver-patch-days: 5
13+
914
commit-message:
1015
prefix: meta
1116
open-pull-requests-limit: ${{secrets.OPEN_PR_LIMIT}}
@@ -14,6 +19,10 @@ updates:
1419
directory: /tools/eslint
1520
schedule:
1621
interval: monthly
22+
cooldown:
23+
- semver-major-days: 5
24+
- semver-minor-days: 5
25+
- semver-patch-days: 5
1726
commit-message:
1827
prefix: tools
1928
open-pull-requests-limit: ${{secrets.OPEN_PR_LIMIT}}
@@ -27,6 +36,10 @@ updates:
2736
directory: /tools/lint-md
2837
schedule:
2938
interval: monthly
39+
cooldown:
40+
- semver-major-days: 5
41+
- semver-minor-days: 5
42+
- semver-patch-days: 5
3043
commit-message:
3144
prefix: tools
3245
open-pull-requests-limit: ${{secrets.OPEN_PR_LIMIT}}
@@ -35,3 +48,20 @@ updates:
3548
applies-to: version-updates
3649
patterns:
3750
- '*'
51+
52+
- package-ecosystem: npm
53+
directory: /tools/doc
54+
schedule:
55+
interval: weekly
56+
cooldown:
57+
- semver-major-days: 5
58+
- semver-minor-days: 5
59+
- semver-patch-days: 5
60+
commit-message:
61+
prefix: tools
62+
open-pull-requests-limit: ${{secrets.OPEN_PR_LIMIT}}
63+
groups:
64+
doc:
65+
applies-to: version-updates
66+
patterns:
67+
- '*'
Collapse file

‎.github/workflows/tools.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/tools.yml
-17Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ on:
2121
- c-ares
2222
- cjs-module-lexer
2323
- corepack
24-
- doc
2524
- googletest
2625
- gyp-next
2726
- histogram
@@ -118,22 +117,6 @@ jobs:
118117
run: |
119118
make corepack-update
120119
echo "NEW_VERSION=$(node deps/corepack/dist/corepack.js --version)" >> $GITHUB_ENV
121-
- id: doc
122-
subsystem: tools
123-
label: tools
124-
run: |
125-
cd tools/doc
126-
npm ci
127-
NEW_VERSION=$(npm outdated --parseable | cut -d: -f4 | xargs)
128-
if [ "$NEW_VERSION" != "" ]; then
129-
echo "NEW_VERSION=new version" >> $GITHUB_ENV
130-
rm -rf package-lock.json node_modules
131-
# Include $NEW_VERSION to explicitly update the package.json
132-
# entry for the dependency and also so that semver-major updates
133-
# are not skipped.
134-
npm install --ignore-scripts $NEW_VERSION
135-
npm install --ignore-scripts
136-
fi
137120
- id: googletest
138121
subsystem: deps
139122
label: dependencies, test

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.