diff --git a/.github/scripts/package-lock.json b/.github/scripts/package-lock.json deleted file mode 100644 index f364e1106..000000000 --- a/.github/scripts/package-lock.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "name": "github-scripts", - "version": "1.0.0", - "lockfileVersion": 3, - "requires": true, - "packages": { - "": { - "name": "github-scripts", - "version": "1.0.0", - "dependencies": { - "yaml": "2.8.1" - } - }, - "node_modules/yaml": { - "version": "2.8.1", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.8.1.tgz", - "integrity": "sha512-lcYcMxX2PO9XMGvAJkJ3OsNMw+/7FKes7/hgerGUYWIoWu5j/+YQqcZr5JnPZWzOsEBgMbSbiSTn/dv/69Mkpw==", - "license": "ISC", - "bin": { - "yaml": "bin.mjs" - }, - "engines": { - "node": ">= 14.6" - } - } - } -} diff --git a/.github/scripts/package.json b/.github/scripts/package.json deleted file mode 100644 index efca3b345..000000000 --- a/.github/scripts/package.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "//": "Dependencies for GitHub Actions workflows that use actions/github-script", - "name": "github-scripts", - "version": "1.0.0", - "private": true, - "dependencies": { - "yaml": "2.8.1" - } -} diff --git a/.github/workflows/assign-issue-owners.yml b/.github/workflows/assign-issue-owners.yml index bc648c8e4..ee64f176a 100644 --- a/.github/workflows/assign-issue-owners.yml +++ b/.github/workflows/assign-issue-owners.yml @@ -19,8 +19,11 @@ jobs: - name: Checkout repository uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1 + - name: Setup Node.js + uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0 + - name: Install yaml dependency used below - run: npm ci --prefix .github/scripts + run: npm install yaml@2.8.1 --integrity=sha512-lcYcMxX2PO9XMGvAJkJ3OsNMw+/7FKes7/hgerGUYWIoWu5j/+YQqcZr5JnPZWzOsEBgMbSbiSTn/dv/69Mkpw== - name: Parse component label and assign owners uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0