Skip to content

Commit 7414892

Browse files
committed
Pin npm hash
1 parent 9bde959 commit 7414892

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/renovate.json5

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,9 @@
205205
'.github/workflows/**',
206206
],
207207
matchStrings: [
208-
'npm install (?<depName>[^@\\s]+)@(?<currentValue>[^\\s]+)',
208+
'npm install (?<depName>[^@\\s]+)@(?<currentValue>[^\\s]+)(?:\\s+--integrity=(?<currentDigest>sha\\d+-[A-Za-z0-9+/]+=*))?',
209209
],
210+
autoReplaceStringTemplate: 'npm install {{depName}}@{{newValue}}{{#if newDigest}} --integrity={{newDigest}}{{/if}}',
210211
},
211212
{
212213
customType: 'regex',

.github/workflows/assign-issue-owners.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2121

2222
- name: Install yaml
23-
run: npm install [email protected].1
23+
run: npm install [email protected].0 --integrity=sha512-4lLa/EcQCB0cJkyts+FpIRx5G/llPxfP6VQU5KByHEhLxY3IJCH0f0Hy1MHI8sClTvsIb8qwRJ6R/ZdlDJ/leQ==
2424

2525
- name: Parse component label and assign owners
2626
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0

0 commit comments

Comments
 (0)