From 9ebb002e87609e2a893a20b40dc777d492b62591 Mon Sep 17 00:00:00 2001 From: Ryan Cragun Date: Mon, 3 Nov 2025 16:57:37 -0700 Subject: [PATCH 1/2] release: enos 0.0.34 This update the action to default to enos 0.0.34. As I was here I updated the license headers for VAULT-40344, along with the release checklist that needed updating for the Node 24 requirements. We also fix one moderate dep that `npm audit` found. Signed-off-by: Ryan Cragun --- .github/actions/acceptance/action.yml | 2 +- LICENSE | 2 +- README.md | 8 ++++---- action.yml | 2 +- dist/index.js | 14 +++++++------- eslint.config.js | 2 +- package-lock.json | 16 +++++++++++----- package.json | 4 ++-- src/enos.js | 4 ++-- src/enos.test.js | 2 +- src/github-release.js | 2 +- src/github-release.test.js | 2 +- src/index.js | 2 +- src/main.js | 2 +- src/octokit.js | 2 +- vitest.config.mjs | 2 +- 16 files changed, 37 insertions(+), 31 deletions(-) diff --git a/.github/actions/acceptance/action.yml b/.github/actions/acceptance/action.yml index 560d41f..ff629ec 100644 --- a/.github/actions/acceptance/action.yml +++ b/.github/actions/acceptance/action.yml @@ -1,4 +1,4 @@ -# Copyright (c) HashiCorp, Inc. +# Copyright IBM Corp. 2022, 2025 # SPDX-License-Identifier: MPL-2.0 --- diff --git a/LICENSE b/LICENSE index 9803e74..be44916 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2022 HashiCorp, Inc. +Copyright IBM Corp. 2022, 2025 Mozilla Public License Version 2.0 ================================== diff --git a/README.md b/README.md index 52fc701..220f2a4 100644 --- a/README.md +++ b/README.md @@ -19,19 +19,19 @@ steps: - name: Set up Enos uses: hashicorp/action-setup-enos@v1 with: - version: 0.0.33 # You only need to specify a version if you wish to override the default version + version: 0.0.34 # You only need to specify a version if you wish to override the default version ``` ## Inputs The actions supports the following inputs: -- `version`: The version of `enos` to install, defaulting to `0.0.33` +- `version`: The version of `enos` to install, defaulting to `0.0.34` ## Release a new version of Enos -- [ ] Ensure that you have the latest version of Node 20 (Iron) installed -- [ ] Ensure that you have installed the [copywrite](https://github.com/hashicorp/copywrite) utility +- [ ] Ensure that you have the latest version of Node 24 (krypton) installed +- [ ] Ensure that you have installed the [copywrite](https://github.com/hashicorp/copywrite_ibm) utility for writing copywrite headers. - [ ] Bump the version in `package.json`. **This is the action version, not the enos cli version, it wont likely match the enos version** - [ ] If we're releasing a new version of `enos`: diff --git a/action.yml b/action.yml index 51aaba3..9012d95 100644 --- a/action.yml +++ b/action.yml @@ -1,4 +1,4 @@ -# Copyright (c) HashiCorp, Inc. +# Copyright IBM Corp. 2022, 2025 # SPDX-License-Identifier: MPL-2.0 name: setup-enos diff --git a/dist/index.js b/dist/index.js index 86fbb74..29896d9 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1,5 +1,5 @@ /** - * Copyright (c) HashiCorp, Inc. + * Copyright IBM Corp. * SPDX-License-Identifier: MPL-2.0 */ @@ -37210,7 +37210,7 @@ var createUnauthenticatedAuth = function createUnauthenticatedAuth2(options) { ;// CONCATENATED MODULE: ./src/octokit.js /** - * Copyright (c) HashiCorp, Inc. + * Copyright IBM Corp. 2022, 2025 * SPDX-License-Identifier: MPL-2.0 */ @@ -44388,7 +44388,7 @@ const got = source_create(defaults); ;// CONCATENATED MODULE: ./src/github-release.js /** - * Copyright (c) HashiCorp, Inc. + * Copyright IBM Corp. 2022, 2025 * SPDX-License-Identifier: MPL-2.0 */ @@ -44478,7 +44478,7 @@ async function getByTag(client, owner, repo, tag) { ;// CONCATENATED MODULE: ./src/enos.js /** - * Copyright (c) HashiCorp, Inc. + * Copyright IBM Corp. 2022, 2025 * SPDX-License-Identifier: MPL-2.0 */ @@ -44492,7 +44492,7 @@ const executableName = "enos"; const gitHubRepositoryOwner = "hashicorp"; const gitHubRepositoryRepo = "enos"; -const latestVersion = "0.0.33"; +const latestVersion = "0.0.34"; async function downloadReleaseAsset(client, releaseAsset, directory) { try { @@ -44580,7 +44580,7 @@ async function versionNumber() { ;// CONCATENATED MODULE: ./src/main.js /** - * Copyright (c) HashiCorp, Inc. + * Copyright IBM Corp. 2022, 2025 * SPDX-License-Identifier: MPL-2.0 */ @@ -44665,7 +44665,7 @@ Found enos version ${outputs.version} in path ;// CONCATENATED MODULE: ./src/index.js /** - * Copyright (c) HashiCorp, Inc. + * Copyright IBM Corp. 2022, 2025 * SPDX-License-Identifier: MPL-2.0 */ diff --git a/eslint.config.js b/eslint.config.js index 0c91b39..e2ff273 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -1,5 +1,5 @@ /** - * Copyright (c) HashiCorp, Inc. + * Copyright IBM Corp. 2022, 2025 * SPDX-License-Identifier: MPL-2.0 */ diff --git a/package-lock.json b/package-lock.json index d53d3ea..fadaf63 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "action-setup-enos", - "version": "1.38", + "version": "1.39", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "action-setup-enos", - "version": "1.38", + "version": "1.39", "license": "MPL-2.0", "dependencies": { "@actions/core": "^1.11.1", @@ -790,6 +790,7 @@ "resolved": "https://registry.npmjs.org/@octokit/core/-/core-7.0.3.tgz", "integrity": "sha512-oNXsh2ywth5aowwIa7RKtawnkdH6LgU1ztfP9AIUCQCvzysB+WeU8o2kyyosDPwBZutPpjZDKPQGIzzrfTWweQ==", "license": "MIT", + "peer": true, "dependencies": { "@octokit/auth-token": "^6.0.0", "@octokit/graphql": "^9.0.1", @@ -1484,6 +1485,7 @@ "integrity": "sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==", "dev": true, "license": "MIT", + "peer": true, "bin": { "acorn": "bin/acorn" }, @@ -1853,6 +1855,7 @@ "integrity": "sha512-QePbBFMJFjgmlE+cXAlbHZbHpdFVS2E/6vzCy7aKlebddvl1vadiC4JFV5u/wqTkNUwEV8WrQi257jf5f06hrg==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@eslint-community/eslint-utils": "^4.8.0", "@eslint-community/regexpp": "^4.12.1", @@ -2969,6 +2972,7 @@ "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=12" }, @@ -3069,11 +3073,12 @@ } }, "node_modules/vite": { - "version": "7.1.5", - "resolved": "https://registry.npmjs.org/vite/-/vite-7.1.5.tgz", - "integrity": "sha512-4cKBO9wR75r0BeIWWWId9XK9Lj6La5X846Zw9dFfzMRw38IlTk2iCcUt6hsyiDRcPidc55ZParFYDXi0nXOeLQ==", + "version": "7.1.12", + "resolved": "https://registry.npmjs.org/vite/-/vite-7.1.12.tgz", + "integrity": "sha512-ZWyE8YXEXqJrrSLvYgrRP7p62OziLW7xI5HYGWFzOvupfAlrLvURSzv/FyGyy0eidogEM3ujU+kUG1zuHgb6Ug==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "esbuild": "^0.25.0", "fdir": "^6.5.0", @@ -3190,6 +3195,7 @@ "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=12" }, diff --git a/package.json b/package.json index 1693020..0cc641f 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "action-setup-enos", "type": "module", - "version": "1.38", + "version": "1.39", "description": "Setup Enos CLI for GitHub Actions", "scripts": { "all": "npm run build && npm run ci", @@ -9,7 +9,7 @@ "ci": "npm run lint && npm run format:check && npm run test", "format:write": "npx prettier --write .", "format:check": "npx prettier --check .", - "headers": "copywrite headers", + "headers": "copywrite_ibm headers", "lint": "npx eslint ./src", "prepare": "npx ncc build src/index.js -o dist --license licenses.txt", "test": "npx vitest run" diff --git a/src/enos.js b/src/enos.js index f51f40d..3daeda5 100644 --- a/src/enos.js +++ b/src/enos.js @@ -1,5 +1,5 @@ /** - * Copyright (c) HashiCorp, Inc. + * Copyright IBM Corp. 2022, 2025 * SPDX-License-Identifier: MPL-2.0 */ @@ -13,7 +13,7 @@ const executableName = "enos"; const gitHubRepositoryOwner = "hashicorp"; const gitHubRepositoryRepo = "enos"; -export const latestVersion = "0.0.33"; +export const latestVersion = "0.0.34"; export async function downloadReleaseAsset(client, releaseAsset, directory) { try { diff --git a/src/enos.test.js b/src/enos.test.js index fafb261..5b3c5d9 100644 --- a/src/enos.test.js +++ b/src/enos.test.js @@ -1,5 +1,5 @@ /** - * Copyright (c) HashiCorp, Inc. + * Copyright IBM Corp. 2022, 2025 * SPDX-License-Identifier: MPL-2.0 */ diff --git a/src/github-release.js b/src/github-release.js index cac6fb7..3bffaca 100644 --- a/src/github-release.js +++ b/src/github-release.js @@ -1,5 +1,5 @@ /** - * Copyright (c) HashiCorp, Inc. + * Copyright IBM Corp. 2022, 2025 * SPDX-License-Identifier: MPL-2.0 */ diff --git a/src/github-release.test.js b/src/github-release.test.js index 0bfa0ab..05aaa53 100644 --- a/src/github-release.test.js +++ b/src/github-release.test.js @@ -1,5 +1,5 @@ /** - * Copyright (c) HashiCorp, Inc. + * Copyright IBM Corp. 2022, 2025 * SPDX-License-Identifier: MPL-2.0 */ diff --git a/src/index.js b/src/index.js index 119c139..f31a5f2 100644 --- a/src/index.js +++ b/src/index.js @@ -1,5 +1,5 @@ /** - * Copyright (c) HashiCorp, Inc. + * Copyright IBM Corp. 2022, 2025 * SPDX-License-Identifier: MPL-2.0 */ diff --git a/src/main.js b/src/main.js index 2cb0f4a..f03f22d 100644 --- a/src/main.js +++ b/src/main.js @@ -1,5 +1,5 @@ /** - * Copyright (c) HashiCorp, Inc. + * Copyright IBM Corp. 2022, 2025 * SPDX-License-Identifier: MPL-2.0 */ diff --git a/src/octokit.js b/src/octokit.js index d887540..c5b4f00 100644 --- a/src/octokit.js +++ b/src/octokit.js @@ -1,5 +1,5 @@ /** - * Copyright (c) HashiCorp, Inc. + * Copyright IBM Corp. 2022, 2025 * SPDX-License-Identifier: MPL-2.0 */ diff --git a/vitest.config.mjs b/vitest.config.mjs index 3f19097..57226ba 100644 --- a/vitest.config.mjs +++ b/vitest.config.mjs @@ -1,5 +1,5 @@ /** - * Copyright (c) HashiCorp, Inc. + * Copyright IBM Corp. 2022, 2025 * SPDX-License-Identifier: MPL-2.0 */ From 8bd1622e3136cdf7a183b02b521442e7f6a72fcb Mon Sep 17 00:00:00 2001 From: Ryan Cragun Date: Tue, 4 Nov 2025 11:06:00 -0700 Subject: [PATCH 2/2] add years to headers Signed-off-by: Ryan Cragun --- dist/index.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 29896d9..beb1f3d 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1,5 +1,5 @@ /** - * Copyright IBM Corp. + * Copyright IBM Corp. 2022, 2025 * SPDX-License-Identifier: MPL-2.0 */ diff --git a/package.json b/package.json index 0cc641f..c90a933 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "ci": "npm run lint && npm run format:check && npm run test", "format:write": "npx prettier --write .", "format:check": "npx prettier --check .", - "headers": "copywrite_ibm headers", + "headers": "copywrite_ibm headers --year1 2022 --year2 2025", "lint": "npx eslint ./src", "prepare": "npx ncc build src/index.js -o dist --license licenses.txt", "test": "npx vitest run"