From b6ab68e21b4cf4716629d52464c7cf7bf363aef1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 1 Aug 2025 11:36:19 +0000 Subject: [PATCH 01/15] Build(deps): Bump issue-ops/releaser in the actions-minor group Bumps the actions-minor group with 1 update: [issue-ops/releaser](https://github.com/issue-ops/releaser). Updates `issue-ops/releaser` from 2.1.0 to 2.2.0 - [Release notes](https://github.com/issue-ops/releaser/releases) - [Commits](https://github.com/issue-ops/releaser/compare/v2.1.0...v2.2.0) --- updated-dependencies: - dependency-name: issue-ops/releaser dependency-version: 2.2.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: actions-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/continuous-delivery.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/continuous-delivery.yml b/.github/workflows/continuous-delivery.yml index 768d4c1..9bdf5fd 100644 --- a/.github/workflows/continuous-delivery.yml +++ b/.github/workflows/continuous-delivery.yml @@ -56,7 +56,7 @@ jobs: - name: Create Release id: release - uses: issue-ops/releaser@v2.1.0 + uses: issue-ops/releaser@v2.2.0 with: tag: v${{ steps.tag.outputs.version }} From 4eda3e06307db6c34e43ab6da4d71162437943d5 Mon Sep 17 00:00:00 2001 From: Nick Alteen Date: Fri, 1 Aug 2025 09:18:34 -0400 Subject: [PATCH 02/15] npm audit fix --- package-lock.json | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 1e99e3c..314980c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1674,18 +1674,32 @@ } }, "node_modules/@eslint/plugin-kit": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.3.1.tgz", - "integrity": "sha512-0J+zgWxHN+xXONWIyPWKFMgVuJoZuGiIFu8yxk7RJjxkzpGmyja5wRFqZIVtjDVOQpV+Rw0iOAjYPE2eQyjr0w==", + "version": "0.3.4", + "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.3.4.tgz", + "integrity": "sha512-Ul5l+lHEcw3L5+k8POx6r74mxEYKG5kOb6Xpy2gCRW6zweT6TEhAf8vhxGgjhqrd/VO/Dirhsb+1hNpD1ue9hw==", "devOptional": true, + "license": "Apache-2.0", "dependencies": { - "@eslint/core": "^0.14.0", + "@eslint/core": "^0.15.1", "levn": "^0.4.1" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" } }, + "node_modules/@eslint/plugin-kit/node_modules/@eslint/core": { + "version": "0.15.1", + "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.15.1.tgz", + "integrity": "sha512-bkOp+iumZCCbt1K1CmWf0R9pM5yKpDv+ZXtvSyQpudrI9kuFLp+bM2WOPXImuD/ceQuaa8f5pj93Y7zyECIGNA==", + "devOptional": true, + "license": "Apache-2.0", + "dependencies": { + "@types/json-schema": "^7.0.15" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, "node_modules/@fastify/busboy": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/@fastify/busboy/-/busboy-2.1.1.tgz", From c48d8866efdfa8a7ae3a77cdd111f8948936d92c Mon Sep 17 00:00:00 2001 From: Nick Alteen Date: Fri, 1 Aug 2025 09:51:36 -0400 Subject: [PATCH 03/15] Remove useless directive --- src/bootstrap.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/bootstrap.ts b/src/bootstrap.ts index 0737dba..9c8172c 100644 --- a/src/bootstrap.ts +++ b/src/bootstrap.ts @@ -1,5 +1,3 @@ -/* eslint-disable @typescript-eslint/no-require-imports */ - /** * This file is used to bootstrap the environment for the action. * From a88859c4af74b0a63b1d91c48ff0d99dfcc6b9e9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 1 Aug 2025 14:03:53 +0000 Subject: [PATCH 04/15] Build(deps): Bump @octokit/plugin-request-log from 5.3.1 to 6.0.0 Bumps [@octokit/plugin-request-log](https://github.com/octokit/plugin-request-log.js) from 5.3.1 to 6.0.0. - [Release notes](https://github.com/octokit/plugin-request-log.js/releases) - [Commits](https://github.com/octokit/plugin-request-log.js/compare/v5.3.1...v6.0.0) --- updated-dependencies: - dependency-name: "@octokit/plugin-request-log" dependency-version: 6.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- package-lock.json | 22 +++++++++++++++++----- package.json | 2 +- 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 314980c..87462ca 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,7 +17,7 @@ "@eslint/compat": "^1.2.8", "@octokit/core": "^6.1.5", "@octokit/plugin-paginate-rest": "^13.0.1", - "@octokit/plugin-request-log": "^5.3.1", + "@octokit/plugin-request-log": "^6.0.0", "@octokit/plugin-rest-endpoint-methods": "^16.0.0", "@octokit/plugin-retry": "^7.2.1", "@octokit/rest": "^21.1.1", @@ -2730,12 +2730,12 @@ } }, "node_modules/@octokit/plugin-request-log": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/@octokit/plugin-request-log/-/plugin-request-log-5.3.1.tgz", - "integrity": "sha512-n/lNeCtq+9ofhC15xzmJCNKP2BWTv8Ih2TTy+jatNCCq/gQP/V7rK3fjIfuz0pDWDALO/o/4QY4hyOF6TQQFUw==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/@octokit/plugin-request-log/-/plugin-request-log-6.0.0.tgz", + "integrity": "sha512-UkOzeEN3W91/eBq9sPZNQ7sUBvYCqYbrrD8gTbBuGtHEuycE4/awMXcYvx6sVYo7LypPhmQwwpUe4Yyu4QZN5Q==", "license": "MIT", "engines": { - "node": ">= 18" + "node": ">= 20" }, "peerDependencies": { "@octokit/core": ">=6" @@ -2873,6 +2873,18 @@ "node": ">= 18" } }, + "node_modules/@octokit/rest/node_modules/@octokit/plugin-request-log": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/@octokit/plugin-request-log/-/plugin-request-log-5.3.1.tgz", + "integrity": "sha512-n/lNeCtq+9ofhC15xzmJCNKP2BWTv8Ih2TTy+jatNCCq/gQP/V7rK3fjIfuz0pDWDALO/o/4QY4hyOF6TQQFUw==", + "license": "MIT", + "engines": { + "node": ">= 18" + }, + "peerDependencies": { + "@octokit/core": ">=6" + } + }, "node_modules/@octokit/rest/node_modules/@octokit/plugin-rest-endpoint-methods": { "version": "13.5.0", "resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-13.5.0.tgz", diff --git a/package.json b/package.json index a21e259..6d794dc 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ "@eslint/compat": "^1.2.8", "@octokit/core": "^6.1.5", "@octokit/plugin-paginate-rest": "^13.0.1", - "@octokit/plugin-request-log": "^5.3.1", + "@octokit/plugin-request-log": "^6.0.0", "@octokit/plugin-rest-endpoint-methods": "^16.0.0", "@octokit/plugin-retry": "^7.2.1", "@octokit/rest": "^21.1.1", From e8e69b3248925db795cfec210bdb9e62eeb76262 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 1 Aug 2025 14:08:26 +0000 Subject: [PATCH 05/15] Build(deps): Bump @octokit/rest from 21.1.1 to 22.0.0 Bumps [@octokit/rest](https://github.com/octokit/rest.js) from 21.1.1 to 22.0.0. - [Release notes](https://github.com/octokit/rest.js/releases) - [Commits](https://github.com/octokit/rest.js/compare/v21.1.1...v22.0.0) --- updated-dependencies: - dependency-name: "@octokit/rest" dependency-version: 22.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- package-lock.json | 85 +++++++++++++++++++++++++++++++++-------------- package.json | 2 +- 2 files changed, 61 insertions(+), 26 deletions(-) diff --git a/package-lock.json b/package-lock.json index 87462ca..4d275e0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20,7 +20,7 @@ "@octokit/plugin-request-log": "^6.0.0", "@octokit/plugin-rest-endpoint-methods": "^16.0.0", "@octokit/plugin-retry": "^7.2.1", - "@octokit/rest": "^21.1.1", + "@octokit/rest": "^22.0.0", "archiver": "^7.0.1", "chalk": "^5.4.1", "commander": "^14.0.0", @@ -2859,47 +2859,82 @@ } }, "node_modules/@octokit/rest": { - "version": "21.1.1", - "resolved": "https://registry.npmjs.org/@octokit/rest/-/rest-21.1.1.tgz", - "integrity": "sha512-sTQV7va0IUVZcntzy1q3QqPm/r8rWtDCqpRAmb8eXXnKkjoQEtFe3Nt5GTVsHft+R6jJoHeSiVLcgcvhtue/rg==", + "version": "22.0.0", + "resolved": "https://registry.npmjs.org/@octokit/rest/-/rest-22.0.0.tgz", + "integrity": "sha512-z6tmTu9BTnw51jYGulxrlernpsQYXpui1RK21vmXn8yF5bp6iX16yfTtJYGK5Mh1qDkvDOmp2n8sRMcQmR8jiA==", "license": "MIT", "dependencies": { - "@octokit/core": "^6.1.4", - "@octokit/plugin-paginate-rest": "^11.4.2", - "@octokit/plugin-request-log": "^5.3.1", - "@octokit/plugin-rest-endpoint-methods": "^13.3.0" + "@octokit/core": "^7.0.2", + "@octokit/plugin-paginate-rest": "^13.0.1", + "@octokit/plugin-request-log": "^6.0.0", + "@octokit/plugin-rest-endpoint-methods": "^16.0.0" }, "engines": { - "node": ">= 18" + "node": ">= 20" } }, - "node_modules/@octokit/rest/node_modules/@octokit/plugin-request-log": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/@octokit/plugin-request-log/-/plugin-request-log-5.3.1.tgz", - "integrity": "sha512-n/lNeCtq+9ofhC15xzmJCNKP2BWTv8Ih2TTy+jatNCCq/gQP/V7rK3fjIfuz0pDWDALO/o/4QY4hyOF6TQQFUw==", + "node_modules/@octokit/rest/node_modules/@octokit/auth-token": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-6.0.0.tgz", + "integrity": "sha512-P4YJBPdPSpWTQ1NU4XYdvHvXJJDxM6YwpS0FZHRgP7YFkdVxsWcpWGy/NVqlAA7PcPCnMacXlRm1y2PFZRWL/w==", "license": "MIT", "engines": { - "node": ">= 18" - }, - "peerDependencies": { - "@octokit/core": ">=6" + "node": ">= 20" } }, - "node_modules/@octokit/rest/node_modules/@octokit/plugin-rest-endpoint-methods": { - "version": "13.5.0", - "resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-13.5.0.tgz", - "integrity": "sha512-9Pas60Iv9ejO3WlAX3maE1+38c5nqbJXV5GrncEfkndIpZrJ/WPMRd2xYDcPPEt5yzpxcjw9fWNoPhsSGzqKqw==", + "node_modules/@octokit/rest/node_modules/@octokit/core": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/@octokit/core/-/core-7.0.3.tgz", + "integrity": "sha512-oNXsh2ywth5aowwIa7RKtawnkdH6LgU1ztfP9AIUCQCvzysB+WeU8o2kyyosDPwBZutPpjZDKPQGIzzrfTWweQ==", "license": "MIT", "dependencies": { - "@octokit/types": "^13.10.0" + "@octokit/auth-token": "^6.0.0", + "@octokit/graphql": "^9.0.1", + "@octokit/request": "^10.0.2", + "@octokit/request-error": "^7.0.0", + "@octokit/types": "^14.0.0", + "before-after-hook": "^4.0.0", + "universal-user-agent": "^7.0.0" }, "engines": { - "node": ">= 18" + "node": ">= 20" + } + }, + "node_modules/@octokit/rest/node_modules/@octokit/graphql": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-9.0.1.tgz", + "integrity": "sha512-j1nQNU1ZxNFx2ZtKmL4sMrs4egy5h65OMDmSbVyuCzjOcwsHq6EaYjOTGXPQxgfiN8dJ4CriYHk6zF050WEULg==", + "license": "MIT", + "dependencies": { + "@octokit/request": "^10.0.2", + "@octokit/types": "^14.0.0", + "universal-user-agent": "^7.0.0" }, - "peerDependencies": { - "@octokit/core": ">=6" + "engines": { + "node": ">= 20" } }, + "node_modules/@octokit/rest/node_modules/@octokit/openapi-types": { + "version": "25.1.0", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-25.1.0.tgz", + "integrity": "sha512-idsIggNXUKkk0+BExUn1dQ92sfysJrje03Q0bv0e+KPLrvyqZF8MnBpFz8UNfYDwB3Ie7Z0TByjWfzxt7vseaA==", + "license": "MIT" + }, + "node_modules/@octokit/rest/node_modules/@octokit/types": { + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-14.1.0.tgz", + "integrity": "sha512-1y6DgTy8Jomcpu33N+p5w58l6xyt55Ar2I91RPiIA0xCJBXyUAhXCcmZaDWSANiha7R9a6qJJ2CRomGPZ6f46g==", + "license": "MIT", + "dependencies": { + "@octokit/openapi-types": "^25.1.0" + } + }, + "node_modules/@octokit/rest/node_modules/before-after-hook": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/before-after-hook/-/before-after-hook-4.0.0.tgz", + "integrity": "sha512-q6tR3RPqIB1pMiTRMFcZwuG5T8vwp+vUvEG0vuI6B+Rikh5BfPp2fQ82c925FOs+b0lcFQ8CFrL+KbilfZFhOQ==", + "license": "Apache-2.0" + }, "node_modules/@octokit/types": { "version": "13.10.0", "resolved": "https://registry.npmjs.org/@octokit/types/-/types-13.10.0.tgz", diff --git a/package.json b/package.json index 6d794dc..d503199 100644 --- a/package.json +++ b/package.json @@ -53,7 +53,7 @@ "@octokit/plugin-request-log": "^6.0.0", "@octokit/plugin-rest-endpoint-methods": "^16.0.0", "@octokit/plugin-retry": "^7.2.1", - "@octokit/rest": "^21.1.1", + "@octokit/rest": "^22.0.0", "archiver": "^7.0.1", "chalk": "^5.4.1", "commander": "^14.0.0", From a802b2d9749dabbc4a09a66a6c98d7a68c30b327 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 1 Aug 2025 14:13:55 +0000 Subject: [PATCH 06/15] Build(deps-dev): Bump the npm-development group with 5 updates Bumps the npm-development group with 5 updates: | Package | From | To | | --- | --- | --- | | [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) | `8.35.1` | `8.38.0` | | [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) | `8.35.1` | `8.38.0` | | [eslint](https://github.com/eslint/eslint) | `9.30.0` | `9.32.0` | | [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) | `10.1.5` | `10.1.8` | | [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) | `5.5.1` | `5.5.3` | Updates `@typescript-eslint/eslint-plugin` from 8.35.1 to 8.38.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.38.0/packages/eslint-plugin) Updates `@typescript-eslint/parser` from 8.35.1 to 8.38.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.38.0/packages/parser) Updates `eslint` from 9.30.0 to 9.32.0 - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/compare/v9.30.0...v9.32.0) Updates `eslint-config-prettier` from 10.1.5 to 10.1.8 - [Release notes](https://github.com/prettier/eslint-config-prettier/releases) - [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md) - [Commits](https://github.com/prettier/eslint-config-prettier/compare/v10.1.5...v10.1.8) Updates `eslint-plugin-prettier` from 5.5.1 to 5.5.3 - [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases) - [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/main/CHANGELOG.md) - [Commits](https://github.com/prettier/eslint-plugin-prettier/compare/v5.5.1...v5.5.3) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-version: 8.38.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm-development - dependency-name: "@typescript-eslint/parser" dependency-version: 8.38.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm-development - dependency-name: eslint dependency-version: 9.32.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm-development - dependency-name: eslint-config-prettier dependency-version: 10.1.8 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: npm-development - dependency-name: eslint-plugin-prettier dependency-version: 5.5.3 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: npm-development ... Signed-off-by: dependabot[bot] --- package-lock.json | 174 ++++++++++++++++++++++++---------------------- 1 file changed, 90 insertions(+), 84 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4d275e0..75304b9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1596,10 +1596,11 @@ } }, "node_modules/@eslint/core": { - "version": "0.14.0", - "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.14.0.tgz", - "integrity": "sha512-qIbV0/JZr7iSDjqAc60IqbLdsj9GDt16xQtWD+B78d/HAlvysGdZZ6rpJHGAc2T0FQx1X6thsSPdnoiGKdNtdg==", + "version": "0.15.1", + "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.15.1.tgz", + "integrity": "sha512-bkOp+iumZCCbt1K1CmWf0R9pM5yKpDv+ZXtvSyQpudrI9kuFLp+bM2WOPXImuD/ceQuaa8f5pj93Y7zyECIGNA==", "devOptional": true, + "license": "Apache-2.0", "dependencies": { "@types/json-schema": "^7.0.15" }, @@ -1653,10 +1654,11 @@ } }, "node_modules/@eslint/js": { - "version": "9.30.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.30.0.tgz", - "integrity": "sha512-Wzw3wQwPvc9sHM+NjakWTcPx11mbZyiYHuwWa/QfZ7cIRX7WK54PSk7bdyXDaoaopUcMatv1zaQvOAAO8hCdww==", + "version": "9.32.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.32.0.tgz", + "integrity": "sha512-BBpRFZK3eX6uMLKz8WxFOBIFFcGFJ/g8XuwjTHCqHROSIsopI+ddn/d5Cfh36+7+e5edVS8dbSHnBNhrLEX0zg==", "devOptional": true, + "license": "MIT", "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, @@ -1687,19 +1689,6 @@ "node": "^18.18.0 || ^20.9.0 || >=21.1.0" } }, - "node_modules/@eslint/plugin-kit/node_modules/@eslint/core": { - "version": "0.15.1", - "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.15.1.tgz", - "integrity": "sha512-bkOp+iumZCCbt1K1CmWf0R9pM5yKpDv+ZXtvSyQpudrI9kuFLp+bM2WOPXImuD/ceQuaa8f5pj93Y7zyECIGNA==", - "devOptional": true, - "license": "Apache-2.0", - "dependencies": { - "@types/json-schema": "^7.0.15" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - } - }, "node_modules/@fastify/busboy": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/@fastify/busboy/-/busboy-2.1.1.tgz", @@ -3298,16 +3287,17 @@ "license": "MIT" }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.35.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.35.1.tgz", - "integrity": "sha512-9XNTlo7P7RJxbVeICaIIIEipqxLKguyh+3UbXuT2XQuFp6d8VOeDEGuz5IiX0dgZo8CiI6aOFLg4e8cF71SFVg==", + "version": "8.38.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.38.0.tgz", + "integrity": "sha512-CPoznzpuAnIOl4nhj4tRr4gIPj5AfKgkiJmGQDaq+fQnRJTYlcBjbX3wbciGmpoPf8DREufuPRe1tNMZnGdanA==", "dev": true, + "license": "MIT", "dependencies": { "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "8.35.1", - "@typescript-eslint/type-utils": "8.35.1", - "@typescript-eslint/utils": "8.35.1", - "@typescript-eslint/visitor-keys": "8.35.1", + "@typescript-eslint/scope-manager": "8.38.0", + "@typescript-eslint/type-utils": "8.38.0", + "@typescript-eslint/utils": "8.38.0", + "@typescript-eslint/visitor-keys": "8.38.0", "graphemer": "^1.4.0", "ignore": "^7.0.0", "natural-compare": "^1.4.0", @@ -3321,7 +3311,7 @@ "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "@typescript-eslint/parser": "^8.35.1", + "@typescript-eslint/parser": "^8.38.0", "eslint": "^8.57.0 || ^9.0.0", "typescript": ">=4.8.4 <5.9.0" } @@ -3348,15 +3338,16 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "8.35.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.35.1.tgz", - "integrity": "sha512-3MyiDfrfLeK06bi/g9DqJxP5pV74LNv4rFTyvGDmT3x2p1yp1lOd+qYZfiRPIOf/oON+WRZR5wxxuF85qOar+w==", + "version": "8.38.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.38.0.tgz", + "integrity": "sha512-Zhy8HCvBUEfBECzIl1PKqF4p11+d0aUJS1GeUiuqK9WmOug8YCmC4h4bjyBvMyAMI9sbRczmrYL5lKg/YMbrcQ==", "dev": true, + "license": "MIT", "dependencies": { - "@typescript-eslint/scope-manager": "8.35.1", - "@typescript-eslint/types": "8.35.1", - "@typescript-eslint/typescript-estree": "8.35.1", - "@typescript-eslint/visitor-keys": "8.35.1", + "@typescript-eslint/scope-manager": "8.38.0", + "@typescript-eslint/types": "8.38.0", + "@typescript-eslint/typescript-estree": "8.38.0", + "@typescript-eslint/visitor-keys": "8.38.0", "debug": "^4.3.4" }, "engines": { @@ -3372,13 +3363,14 @@ } }, "node_modules/@typescript-eslint/project-service": { - "version": "8.35.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.35.1.tgz", - "integrity": "sha512-VYxn/5LOpVxADAuP3NrnxxHYfzVtQzLKeldIhDhzC8UHaiQvYlXvKuVho1qLduFbJjjy5U5bkGwa3rUGUb1Q6Q==", + "version": "8.38.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.38.0.tgz", + "integrity": "sha512-dbK7Jvqcb8c9QfH01YB6pORpqX1mn5gDZc9n63Ak/+jD67oWXn3Gs0M6vddAN+eDXBCS5EmNWzbSxsn9SzFWWg==", "dev": true, + "license": "MIT", "dependencies": { - "@typescript-eslint/tsconfig-utils": "^8.35.1", - "@typescript-eslint/types": "^8.35.1", + "@typescript-eslint/tsconfig-utils": "^8.38.0", + "@typescript-eslint/types": "^8.38.0", "debug": "^4.3.4" }, "engines": { @@ -3393,13 +3385,14 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "8.35.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.35.1.tgz", - "integrity": "sha512-s/Bpd4i7ht2934nG+UoSPlYXd08KYz3bmjLEb7Ye1UVob0d1ENiT3lY8bsCmik4RqfSbPw9xJJHbugpPpP5JUg==", + "version": "8.38.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.38.0.tgz", + "integrity": "sha512-WJw3AVlFFcdT9Ri1xs/lg8LwDqgekWXWhH3iAF+1ZM+QPd7oxQ6jvtW/JPwzAScxitILUIFs0/AnQ/UWHzbATQ==", "dev": true, + "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.35.1", - "@typescript-eslint/visitor-keys": "8.35.1" + "@typescript-eslint/types": "8.38.0", + "@typescript-eslint/visitor-keys": "8.38.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -3410,10 +3403,11 @@ } }, "node_modules/@typescript-eslint/tsconfig-utils": { - "version": "8.35.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.35.1.tgz", - "integrity": "sha512-K5/U9VmT9dTHoNowWZpz+/TObS3xqC5h0xAIjXPw+MNcKV9qg6eSatEnmeAwkjHijhACH0/N7bkhKvbt1+DXWQ==", + "version": "8.38.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.38.0.tgz", + "integrity": "sha512-Lum9RtSE3EroKk/bYns+sPOodqb2Fv50XOl/gMviMKNvanETUuUcC9ObRbzrJ4VSd2JalPqgSAavwrPiPvnAiQ==", "dev": true, + "license": "MIT", "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, @@ -3426,13 +3420,15 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "8.35.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.35.1.tgz", - "integrity": "sha512-HOrUBlfVRz5W2LIKpXzZoy6VTZzMu2n8q9C2V/cFngIC5U1nStJgv0tMV4sZPzdf4wQm9/ToWUFPMN9Vq9VJQQ==", + "version": "8.38.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.38.0.tgz", + "integrity": "sha512-c7jAvGEZVf0ao2z+nnz8BUaHZD09Agbh+DY7qvBQqLiz8uJzRgVPj5YvOh8I8uEiH8oIUGIfHzMwUcGVco/SJg==", "dev": true, + "license": "MIT", "dependencies": { - "@typescript-eslint/typescript-estree": "8.35.1", - "@typescript-eslint/utils": "8.35.1", + "@typescript-eslint/types": "8.38.0", + "@typescript-eslint/typescript-estree": "8.38.0", + "@typescript-eslint/utils": "8.38.0", "debug": "^4.3.4", "ts-api-utils": "^2.1.0" }, @@ -3453,6 +3449,7 @@ "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.1.0.tgz", "integrity": "sha512-CUgTZL1irw8u29bzrOD/nH85jqyc74D6SshFgujOIA7osm2Rz7dYH77agkx7H4FBNxDq7Cjf+IjaX/8zwFW+ZQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=18.12" }, @@ -3461,10 +3458,11 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "8.35.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.35.1.tgz", - "integrity": "sha512-q/O04vVnKHfrrhNAscndAn1tuQhIkwqnaW+eu5waD5IPts2eX1dgJxgqcPx5BX109/qAz7IG6VrEPTOYKCNfRQ==", + "version": "8.38.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.38.0.tgz", + "integrity": "sha512-wzkUfX3plUqij4YwWaJyqhiPE5UCRVlFpKn1oCRn2O1bJ592XxWJj8ROQ3JD5MYXLORW84063z3tZTb/cs4Tyw==", "dev": true, + "license": "MIT", "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, @@ -3474,15 +3472,16 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "8.35.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.35.1.tgz", - "integrity": "sha512-Vvpuvj4tBxIka7cPs6Y1uvM7gJgdF5Uu9F+mBJBPY4MhvjrjWGK4H0lVgLJd/8PWZ23FTqsaJaLEkBCFUk8Y9g==", + "version": "8.38.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.38.0.tgz", + "integrity": "sha512-fooELKcAKzxux6fA6pxOflpNS0jc+nOQEEOipXFNjSlBS6fqrJOVY/whSn70SScHrcJ2LDsxWrneFoWYSVfqhQ==", "dev": true, + "license": "MIT", "dependencies": { - "@typescript-eslint/project-service": "8.35.1", - "@typescript-eslint/tsconfig-utils": "8.35.1", - "@typescript-eslint/types": "8.35.1", - "@typescript-eslint/visitor-keys": "8.35.1", + "@typescript-eslint/project-service": "8.38.0", + "@typescript-eslint/tsconfig-utils": "8.38.0", + "@typescript-eslint/types": "8.38.0", + "@typescript-eslint/visitor-keys": "8.38.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", @@ -3506,6 +3505,7 @@ "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.1.0.tgz", "integrity": "sha512-CUgTZL1irw8u29bzrOD/nH85jqyc74D6SshFgujOIA7osm2Rz7dYH77agkx7H4FBNxDq7Cjf+IjaX/8zwFW+ZQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=18.12" }, @@ -3514,15 +3514,16 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "8.35.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.35.1.tgz", - "integrity": "sha512-lhnwatFmOFcazAsUm3ZnZFpXSxiwoa1Lj50HphnDe1Et01NF4+hrdXONSUHIcbVu2eFb1bAf+5yjXkGVkXBKAQ==", + "version": "8.38.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.38.0.tgz", + "integrity": "sha512-hHcMA86Hgt+ijJlrD8fX0j1j8w4C92zue/8LOPAFioIno+W0+L7KqE8QZKCcPGc/92Vs9x36w/4MPTJhqXdyvg==", "dev": true, + "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.7.0", - "@typescript-eslint/scope-manager": "8.35.1", - "@typescript-eslint/types": "8.35.1", - "@typescript-eslint/typescript-estree": "8.35.1" + "@typescript-eslint/scope-manager": "8.38.0", + "@typescript-eslint/types": "8.38.0", + "@typescript-eslint/typescript-estree": "8.38.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -3537,12 +3538,13 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "8.35.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.35.1.tgz", - "integrity": "sha512-VRwixir4zBWCSTP/ljEo091lbpypz57PoeAQ9imjG+vbeof9LplljsL1mos4ccG6H9IjfrVGM359RozUnuFhpw==", + "version": "8.38.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.38.0.tgz", + "integrity": "sha512-pWrTcoFNWuwHlA9CvlfSsGWs14JxfN1TH25zM5L7o0pRLhsoZkDnTsXfQRJBEWJoV5DL0jf+Z+sxiud+K0mq1g==", "dev": true, + "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.35.1", + "@typescript-eslint/types": "8.38.0", "eslint-visitor-keys": "^4.2.1" }, "engines": { @@ -3558,6 +3560,7 @@ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.1.tgz", "integrity": "sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==", "dev": true, + "license": "Apache-2.0", "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, @@ -5377,19 +5380,20 @@ } }, "node_modules/eslint": { - "version": "9.30.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.30.0.tgz", - "integrity": "sha512-iN/SiPxmQu6EVkf+m1qpBxzUhE12YqFLOSySuOyVLJLEF9nzTf+h/1AJYc1JWzCnktggeNrjvQGLngDzXirU6g==", + "version": "9.32.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.32.0.tgz", + "integrity": "sha512-LSehfdpgMeWcTZkWZVIJl+tkZ2nuSkyyB9C27MZqFWXuph7DvaowgcTvKqxvpLW1JZIk8PN7hFY3Rj9LQ7m7lg==", "devOptional": true, + "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.12.1", "@eslint/config-array": "^0.21.0", "@eslint/config-helpers": "^0.3.0", - "@eslint/core": "^0.14.0", + "@eslint/core": "^0.15.0", "@eslint/eslintrc": "^3.3.1", - "@eslint/js": "9.30.0", - "@eslint/plugin-kit": "^0.3.1", + "@eslint/js": "9.32.0", + "@eslint/plugin-kit": "^0.3.4", "@humanfs/node": "^0.16.6", "@humanwhocodes/module-importer": "^1.0.1", "@humanwhocodes/retry": "^0.4.2", @@ -5437,10 +5441,11 @@ } }, "node_modules/eslint-config-prettier": { - "version": "10.1.5", - "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-10.1.5.tgz", - "integrity": "sha512-zc1UmCpNltmVY34vuLRV61r1K27sWuX39E+uyUnY8xS2Bex88VV9cugG+UZbRSRGtGyFboj+D8JODyme1plMpw==", + "version": "10.1.8", + "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-10.1.8.tgz", + "integrity": "sha512-82GZUjRS0p/jganf6q1rEO25VSoHH0hKPCTrgillPjdI/3bgBhAE1QzHrHTizjpRvy6pGAvKjDJtk2pF9NDq8w==", "dev": true, + "license": "MIT", "bin": { "eslint-config-prettier": "bin/cli.js" }, @@ -5717,10 +5722,11 @@ } }, "node_modules/eslint-plugin-prettier": { - "version": "5.5.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-5.5.1.tgz", - "integrity": "sha512-dobTkHT6XaEVOo8IO90Q4DOSxnm3Y151QxPJlM/vKC0bVy+d6cVWQZLlFiuZPP0wS6vZwSKeJgKkcS+KfMBlRw==", + "version": "5.5.3", + "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-5.5.3.tgz", + "integrity": "sha512-NAdMYww51ehKfDyDhv59/eIItUVzU0Io9H2E8nHNGKEeeqlnci+1gCvrHib6EmZdf6GxF+LCV5K7UC65Ezvw7w==", "dev": true, + "license": "MIT", "dependencies": { "prettier-linter-helpers": "^1.0.0", "synckit": "^0.11.7" From 5c8a66663331d8f37aba737699e91faaa23a4f11 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 1 Aug 2025 14:17:35 +0000 Subject: [PATCH 07/15] Build(deps): Bump figlet from 1.8.1 to 1.8.2 in the npm-production group Bumps the npm-production group with 1 update: [figlet](https://github.com/patorjk/figlet.js). Updates `figlet` from 1.8.1 to 1.8.2 - [Release notes](https://github.com/patorjk/figlet.js/releases) - [Commits](https://github.com/patorjk/figlet.js/compare/v1.8.1...v1.8.2) --- updated-dependencies: - dependency-name: figlet dependency-version: 1.8.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: npm-production ... Signed-off-by: dependabot[bot] --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 75304b9..35ab0e3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6124,9 +6124,9 @@ } }, "node_modules/figlet": { - "version": "1.8.1", - "resolved": "https://registry.npmjs.org/figlet/-/figlet-1.8.1.tgz", - "integrity": "sha512-kEC3Sme+YvA8Hkibv0NR1oClGcWia0VB2fC1SlMy027cwe795Xx40Xiv/nw/iFAwQLupymWh+uhAAErn/7hwPg==", + "version": "1.8.2", + "resolved": "https://registry.npmjs.org/figlet/-/figlet-1.8.2.tgz", + "integrity": "sha512-iPCpE9B/rOcjewIzDnagP9F2eySzGeHReX8WlrZQJkqFBk2wvq8gY0c6U6Hd2y9HnX1LQcYSeP7aEHoPt6sVKQ==", "license": "MIT", "bin": { "figlet": "bin/index.js" From 28a2f9b59072c5180b74468b2ab2c610b1f5e698 Mon Sep 17 00:00:00 2001 From: Nick Alteen Date: Tue, 26 Aug 2025 15:02:01 -0400 Subject: [PATCH 08/15] Build: update Node.js version to 24.4.0 and bump package version to 5.2.0 --- .node-version | 2 +- package-lock.json | 6 +++--- package.json | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.node-version b/.node-version index 728f7de..ee3b424 100644 --- a/.node-version +++ b/.node-version @@ -1 +1 @@ -22.9.0 +24.4.0 diff --git a/package-lock.json b/package-lock.json index 35ab0e3..271915d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@github/local-action", - "version": "5.1.0", + "version": "5.2.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@github/local-action", - "version": "5.1.0", + "version": "5.2.0", "license": "MIT", "dependencies": { "@actions/artifact": "^2.3.2", @@ -63,7 +63,7 @@ "ts-node": "^10.9.2" }, "engines": { - "node": "^20 || ^22" + "node": "^20 || ^22 || ^24" } }, "node_modules/@actions/artifact": { diff --git a/package.json b/package.json index d503199..7dbe997 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@github/local-action", "description": "Local Debugging for GitHub Actions", - "version": "5.1.0", + "version": "5.2.0", "type": "module", "author": "Nick Alteen ", "private": false, @@ -19,7 +19,7 @@ "typescript" ], "engines": { - "node": "^20 || ^22" + "node": "^20 || ^22 || ^24" }, "exports": { ".": "./src/index.ts" From d6c6dddc3e76d62fb29a6654201c4b8e8a76d4e2 Mon Sep 17 00:00:00 2001 From: Nick Alteen Date: Tue, 26 Aug 2025 15:41:31 -0400 Subject: [PATCH 09/15] Drop bootstrap script into run.ts --- bin/local-action.js | 12 ----------- jest.config.ts | 1 - src/bootstrap.ts | 52 --------------------------------------------- src/commands/run.ts | 34 +++++++++++++++++++++++++++++ 4 files changed, 34 insertions(+), 65 deletions(-) delete mode 100644 src/bootstrap.ts diff --git a/bin/local-action.js b/bin/local-action.js index 6994fc1..a7765f0 100755 --- a/bin/local-action.js +++ b/bin/local-action.js @@ -25,18 +25,6 @@ function entrypoint() { // Get the absolute path to the `@github/local-action` package. const packagePath = path.resolve(__dirname, '..') - // Get the absolute path to the bootstrap script. On Windows systems, this - // need to be double-escaped so the path resolves correctly. - const bootstrapPath = - process.platform === 'win32' - ? path.join(packagePath, 'src', 'bootstrap.ts').replaceAll('\\', '\\\\') - : path.join(packagePath, 'src', 'bootstrap.ts') - - // Require the bootstrap script in NODE_OPTIONS. - process.env.NODE_OPTIONS = process.env.NODE_OPTIONS - ? `${process.env.NODE_OPTIONS} --require "${bootstrapPath}"` - : `--require "${bootstrapPath}"` - // Disable experimental warnings. process.env.NODE_NO_WARNINGS = 1 diff --git a/jest.config.ts b/jest.config.ts index 7b69843..c685ad6 100644 --- a/jest.config.ts +++ b/jest.config.ts @@ -7,7 +7,6 @@ const config: JestConfigWithTsJest = { coverageDirectory: 'coverage', coveragePathIgnorePatterns: [ 'node_modules', - 'src/bootstrap.ts', 'src/types/quibble.d.ts', 'src/commands/run.ts', 'src/stubs/artifact/artifact.ts' diff --git a/src/bootstrap.ts b/src/bootstrap.ts deleted file mode 100644 index 9c8172c..0000000 --- a/src/bootstrap.ts +++ /dev/null @@ -1,52 +0,0 @@ -/** - * This file is used to bootstrap the environment for the action. - * - * It is added as a --require option to `npx tsx`. The purpose of this file is - * to handle various configuration options. For example, if an action repository - * makes use of TypeScript paths for module resolution, this bootstrap script - * will parse them and register them so that modules can be resolved correctly. - */ - -import('fs').then(({ existsSync, readFileSync }) => { - import('tsconfig-paths').then(({ loadConfig, register }) => { - import('comment-json').then(({ parse }) => { - import('path').then(({ dirname }) => { - import('url').then(({ fileURLToPath }) => { - if ( - process.env.TARGET_ACTION_PATH && - process.env.TARGET_ACTION_PATH !== '' - ) { - // Check if the action has a `tsconfig.json` file. - if (existsSync(`${process.env.TARGET_ACTION_PATH}/tsconfig.json`)) { - const __dirname = dirname(fileURLToPath(import.meta.url)) - - // Load the `tsconfig.json` from the action directory. - const actionTsConfig = parse( - readFileSync( - `${process.env.TARGET_ACTION_PATH}/tsconfig.json`, - 'utf-8' - ) - ) - - // Load the current `tsconfig.json` from the root of this directory. - loadConfig(__dirname) - - // Get the paths from the action's `tsconfig.json`, if any. - // @ts-expect-error comment-json type mismatch - const paths = actionTsConfig?.compilerOptions?.paths ?? {} - - // Add any path mappings from the imported action. Replace the base URL with - // the target action path. - // @todo Should this take into account the previous `baseUrl` value? - register({ - baseUrl: process.env.TARGET_ACTION_PATH, - paths, - addMatchAll: true - }) - } - } - }) - }) - }) - }) -}) diff --git a/src/commands/run.ts b/src/commands/run.ts index fa1b200..3d555e0 100644 --- a/src/commands/run.ts +++ b/src/commands/run.ts @@ -1,8 +1,11 @@ +import { parse } from 'comment-json' import { config } from 'dotenv' import { createRequire } from 'module' import { execSync } from 'node:child_process' import path from 'path' import * as quibble from 'quibble' +import { loadConfig, register } from 'tsconfig-paths' +import { fileURLToPath } from 'url' import { ARTIFACT_STUBS } from '../stubs/artifact/artifact.js' import { CORE_STUBS, CoreMeta } from '../stubs/core/core.js' import { EnvMeta } from '../stubs/env.js' @@ -30,6 +33,37 @@ export async function action( const fs = await import('fs') const YAML = await import('yaml') + if (process.env.TARGET_ACTION_PATH && process.env.TARGET_ACTION_PATH !== '') { + // Check if the action has a `tsconfig.json` file. + if (fs.existsSync(`${process.env.TARGET_ACTION_PATH}/tsconfig.json`)) { + const __dirname = path.dirname(fileURLToPath(import.meta.url)) + + // Load the `tsconfig.json` from the action directory. + const actionTsConfig = parse( + fs.readFileSync( + `${process.env.TARGET_ACTION_PATH}/tsconfig.json`, + 'utf-8' + ) + ) + + // Load the current `tsconfig.json` from the root of this directory. + loadConfig(__dirname) + + // Get the paths from the action's `tsconfig.json`, if any. + // @ts-expect-error comment-json type mismatch + const paths = actionTsConfig?.compilerOptions?.paths ?? {} + + // Add any path mappings from the imported action. Replace the base URL with + // the target action path. + // @todo Should this take into account the previous `baseUrl` value? + register({ + baseUrl: process.env.TARGET_ACTION_PATH, + paths, + addMatchAll: true + }) + } + } + CoreMeta.colors = { cyan: (msg: string) => console.log(chalk.cyan(msg)), blue: (msg: string) => console.log(chalk.blue(msg)), From 3d97a4030b3b5a2f2b65fdc8755b69cafa545b8f Mon Sep 17 00:00:00 2001 From: Nick Alteen Date: Wed, 27 Aug 2025 14:58:43 -0400 Subject: [PATCH 10/15] Build: update linking steps in CI workflow for TypeScript Yarn ESM action --- .github/workflows/continuous-integration.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index df9ff36..585f927 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -333,11 +333,16 @@ jobs: yarn install working-directory: typescript-yarn-esm-action - - name: Link @github/local-action - id: link - run: yarn link + - name: Create Global Link + id: create-link + run: npm link working-directory: local-action + - name: Use Global Link + id: use-link + run: yarn link "${{ github.workspace }}/local-action" + working-directory: typescript-yarn-esm-action + - name: Generate Dotenv File id: dotenv run: | From edb505ff87b24acbf0b4f715f574c6969d9b85f3 Mon Sep 17 00:00:00 2001 From: Nick Alteen Date: Wed, 27 Aug 2025 15:02:17 -0400 Subject: [PATCH 11/15] Build: update CI workflow to use matrix strategy for OS and uninstall local-action dependencies --- .github/workflows/continuous-integration.yml | 32 +++++++++++++++----- 1 file changed, 24 insertions(+), 8 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 585f927..25ef0f6 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -52,7 +52,9 @@ jobs: typescript-esm-npm: strategy: matrix: - os: [ubuntu-latest, windows-latest] + os: + - ubuntu-latest + - windows-latest name: TypeScript ESM (npm) runs-on: ${{ matrix.os }} @@ -86,7 +88,9 @@ jobs: - name: Install TypeScript Template Dependencies id: install-typescript - run: npm ci + run: | + npm ci + npm uninstall @github/local-action working-directory: typescript-action - name: Link @github/local-action @@ -109,7 +113,9 @@ jobs: javascript-esm-npm: strategy: matrix: - os: [ubuntu-latest, windows-latest] + os: + - ubuntu-latest + - windows-latest name: JavaScript ESM (npm) runs-on: ${{ matrix.os }} @@ -143,7 +149,9 @@ jobs: - name: Install JavaScript Template Dependencies id: install-javascript - run: npm ci + run: | + npm ci + npm uninstall @github/local-action working-directory: javascript-action - name: Link @github/local-action @@ -166,7 +174,9 @@ jobs: typescript-esm-pnpm: strategy: matrix: - os: [ubuntu-latest, windows-latest] + os: + - ubuntu-latest + - windows-latest name: TypeScript ESM (pnpm) runs-on: ${{ matrix.os }} @@ -206,7 +216,9 @@ jobs: - name: Install TypeScript Template Dependencies id: install-typescript - run: pnpm install + run: | + pnpm install + pnpm uninstall @github/local-action working-directory: typescript-pnpm-esm-action - name: Link @github/local-action @@ -229,7 +241,9 @@ jobs: typescript-cjs-pnpm: strategy: matrix: - os: [ubuntu-latest, windows-latest] + os: + - ubuntu-latest + - windows-latest name: TypeScript CJS (pnpm) runs-on: ${{ matrix.os }} @@ -269,7 +283,9 @@ jobs: - name: Install TypeScript Template Dependencies id: install-typescript - run: pnpm install + run: | + pnpm install + pnpm uninstall @github/local-action working-directory: typescript-pnpm-cjs-action - name: Link @github/local-action From 18659781223d5787361b8848a6099c35c9d5b533 Mon Sep 17 00:00:00 2001 From: Nick Alteen Date: Wed, 27 Aug 2025 15:05:38 -0400 Subject: [PATCH 12/15] Build: update CI workflow to create and use global links for local-action --- .github/workflows/continuous-integration.yml | 22 ++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 25ef0f6..ce4e527 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -221,11 +221,16 @@ jobs: pnpm uninstall @github/local-action working-directory: typescript-pnpm-esm-action - - name: Link @github/local-action - id: link - run: pnpm link + - name: Create Global Link + id: create-link + run: npm link working-directory: local-action + - name: Use Global Link + id: use-link + run: pnpm link "${{ github.workspace }}/local-action" + working-directory: typescript-yarn-esm-action + - name: Generate Dotenv File id: dotenv run: | @@ -288,11 +293,16 @@ jobs: pnpm uninstall @github/local-action working-directory: typescript-pnpm-cjs-action - - name: Link @github/local-action - id: link - run: pnpm link + - name: Create Global Link + id: create-link + run: npm link working-directory: local-action + - name: Use Global Link + id: use-link + run: pnpm link "${{ github.workspace }}/local-action" + working-directory: typescript-yarn-esm-action + - name: Generate Dotenv File id: dotenv run: | From 52546ad0eb5df188a1e8dd1e1a29e3090527126a Mon Sep 17 00:00:00 2001 From: Nick Alteen Date: Wed, 27 Aug 2025 15:08:07 -0400 Subject: [PATCH 13/15] fix: update working-directory for global link in TypeScript actions --- .github/workflows/continuous-integration.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index ce4e527..fd36ee6 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -229,7 +229,7 @@ jobs: - name: Use Global Link id: use-link run: pnpm link "${{ github.workspace }}/local-action" - working-directory: typescript-yarn-esm-action + working-directory: typescript-pnpm-esm-action - name: Generate Dotenv File id: dotenv @@ -301,7 +301,7 @@ jobs: - name: Use Global Link id: use-link run: pnpm link "${{ github.workspace }}/local-action" - working-directory: typescript-yarn-esm-action + working-directory: typescript-pnpm-cjs-action - name: Generate Dotenv File id: dotenv From fbc187fbf5013ada68ad56b676ead4d62df6a3fc Mon Sep 17 00:00:00 2001 From: Nick Alteen Date: Wed, 27 Aug 2025 15:12:09 -0400 Subject: [PATCH 14/15] fix: update fail-on-severity value and add ignore for specific vulnerabilities --- .grype.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.grype.yml b/.grype.yml index 1a83047..6b007b3 100644 --- a/.grype.yml +++ b/.grype.yml @@ -13,7 +13,7 @@ # upon scanning, if a severity is found at or above the given severity then the return code will be 1 # default is unset which will skip this validation (options: negligible, low, medium, high, critical) # same as --fail-on ; GRYPE_FAIL_ON_SEVERITY env var -fail-on-severity: 'high' +fail-on-severity: high # the output format of the vulnerability report (options: table, json, cyclonedx) # same as -o ; GRYPE_OUTPUT env var @@ -145,7 +145,7 @@ exclude: # stock: # using-cpes: true -# ignore: -# # Ignored by default; disputed and unwarranted CVE that causes Megalinter to fail -# # @link https://nvd.nist.gov/vuln/detail/CVE-2018-20225 -# - vulnerability: CVE-2018-20225 +ignore: + vulnerabilities: + - package: stdlib + type: go-module From 9ad3422117a6be67082d829e1f95d6aceeac568a Mon Sep 17 00:00:00 2001 From: Nick Alteen Date: Wed, 27 Aug 2025 15:20:49 -0400 Subject: [PATCH 15/15] fix: update ignore configuration for stdlib package to specify type --- .grype.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.grype.yml b/.grype.yml index 6b007b3..c68fb4d 100644 --- a/.grype.yml +++ b/.grype.yml @@ -146,6 +146,6 @@ exclude: # using-cpes: true ignore: - vulnerabilities: - - package: stdlib + - package: + name: stdlib type: go-module