Skip to content

Commit 40c33f1

Browse files
committed
Manage pip and npm install via renovate
1 parent 3832599 commit 40c33f1

File tree

2 files changed

+23
-4
lines changed

2 files changed

+23
-4
lines changed

.github/renovate.json5

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,5 +216,27 @@
216216
"matchUpdateTypes": ["major"],
217217
"enabled": false
218218
}
219+
],
220+
"customManagers": [
221+
{
222+
"customType": "regex",
223+
"datasourceTemplate": "pypi",
224+
"fileMatch": [
225+
"^.github/workflows/"
226+
],
227+
"matchStrings": [
228+
"pip install (?<depName>[^=]+)==(?<currentValue>[^\\s]+)"
229+
]
230+
},
231+
{
232+
"customType": "regex",
233+
"datasourceTemplate": "npm",
234+
"fileMatch": [
235+
"^.github/workflows/"
236+
],
237+
"matchStrings": [
238+
"npx (?<depName>[^@]+)@(?<currentValue>[^\\s]+)"
239+
]
240+
}
219241
]
220242
}

.github/workflows/reusable-markdown-lint-check.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1414

15-
- name: Install mardkdownlint
16-
run: npm install -g [email protected]
17-
1815
- name: Run markdownlint
1916
run: |
20-
markdownlint -c .markdownlint.yml -p .gitignore **/*.md -i licenses/licenses.md
17+
npx markdownlint@0.43.0 -c .markdownlint.yml -p .gitignore **/*.md -i licenses/licenses.md

0 commit comments

Comments
 (0)