Skip to content

Commit 94a963a

Browse files
committed
Manage pip and npm install via renovate
1 parent 3832599 commit 94a963a

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
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+
"npm install (?<depName>[^@]+)@(?<currentValue>[^\\s]+)"
239+
]
240+
}
219241
]
220242
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1414

1515
- name: Install mardkdownlint
16-
run: npm install -g [email protected]
16+
run: npm install [email protected]
1717

1818
- name: Run markdownlint
1919
run: |

0 commit comments

Comments
 (0)