Skip to content

Commit dbd057f

Browse files
committed
Pin npm hash
1 parent 1a07bb8 commit dbd057f

File tree

4 files changed

+46
-12
lines changed

4 files changed

+46
-12
lines changed

.github/renovate.json5

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -198,16 +198,6 @@
198198
'npx (?<depName>[^@]+)@(?<currentValue>[^\\s]+)',
199199
],
200200
},
201-
{
202-
customType: 'regex',
203-
datasourceTemplate: 'npm',
204-
managerFilePatterns: [
205-
'.github/workflows/**',
206-
],
207-
matchStrings: [
208-
'npm install (?<depName>[^@\\s]+)@(?<currentValue>[^\\s]+)',
209-
],
210-
},
211201
{
212202
customType: 'regex',
213203
datasourceTemplate: 'java-version',

.github/scripts/package-lock.json

Lines changed: 27 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/scripts/package.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"//": "Dependencies for GitHub Actions workflows that use actions/github-script",
3+
"name": "github-scripts",
4+
"version": "1.0.0",
5+
"private": true,
6+
"dependencies": {
7+
"yaml": "2.8.0"
8+
}
9+
}

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

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,16 @@ jobs:
1919
- name: Checkout repository
2020
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2121

22-
- name: Install yaml
23-
run: npm install [email protected]
22+
- name: Setup Node.js
23+
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
24+
with:
25+
node-version: '20'
26+
cache: 'npm'
27+
cache-dependency-path: .github/scripts/package-lock.json
28+
29+
- name: Install dependencies
30+
working-directory: .github/scripts
31+
run: npm ci
2432

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

0 commit comments

Comments
 (0)