From b2439a784dd43fc2f12a74a3d3658148c977887e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 16 Aug 2021 08:10:52 +0000 Subject: [PATCH 01/16] chore(deps-dev): bump @vercel/ncc from 0.29.0 to 0.29.1 (#64) Bumps [@vercel/ncc](https://github.com/vercel/ncc) from 0.29.0 to 0.29.1. - [Release notes](https://github.com/vercel/ncc/releases) - [Commits](https://github.com/vercel/ncc/compare/0.29.0...0.29.1) --- updated-dependencies: - dependency-name: "@vercel/ncc" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 6 +++--- package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index bdc7a6d5..30a26b4f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -629,9 +629,9 @@ } }, "@vercel/ncc": { - "version": "0.29.0", - "resolved": "https://registry.npmjs.org/@vercel/ncc/-/ncc-0.29.0.tgz", - "integrity": "sha512-p+sB835wOSDdgm2mgFgSOcXJF84AqZ+vBEnnGS0sm8veA92Hia7sqH0qEnqeFilPl+cXtxbdh2er+WdlfbVCZA==", + "version": "0.29.1", + "resolved": "https://registry.npmjs.org/@vercel/ncc/-/ncc-0.29.1.tgz", + "integrity": "sha512-92d2AApJtkpampMqKgfqWbYkuFvqRFs8kPkKLTbesSB9RVwWfiI3i6mgBxtZgMV9iRuLPVZ+OBNocKHXZSRj6Q==", "dev": true }, "acorn": { diff --git a/package.json b/package.json index 303a45f3..3f795b43 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "semver": "^7.3.5" }, "devDependencies": { - "@vercel/ncc": "^0.29.0", + "@vercel/ncc": "^0.29.1", "eslint": "^7.32.0", "husky": "^7.0.1", "prettier": "^2.3.2", From 3d4d6444111fc4728505d88d90fe1bac2a5375c8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 20 Aug 2021 08:08:26 +0000 Subject: [PATCH 02/16] chore(deps-dev): bump @vercel/ncc from 0.29.1 to 0.29.2 (#65) Bumps [@vercel/ncc](https://github.com/vercel/ncc) from 0.29.1 to 0.29.2. - [Release notes](https://github.com/vercel/ncc/releases) - [Commits](https://github.com/vercel/ncc/compare/0.29.1...0.29.2) --- updated-dependencies: - dependency-name: "@vercel/ncc" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 6 +++--- package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 30a26b4f..3dbaa30f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -629,9 +629,9 @@ } }, "@vercel/ncc": { - "version": "0.29.1", - "resolved": "https://registry.npmjs.org/@vercel/ncc/-/ncc-0.29.1.tgz", - "integrity": "sha512-92d2AApJtkpampMqKgfqWbYkuFvqRFs8kPkKLTbesSB9RVwWfiI3i6mgBxtZgMV9iRuLPVZ+OBNocKHXZSRj6Q==", + "version": "0.29.2", + "resolved": "https://registry.npmjs.org/@vercel/ncc/-/ncc-0.29.2.tgz", + "integrity": "sha512-eUxibZD92k+rY0oZJFZooGqdVpGkDrrHlUhj9UAWrtoyXCGmNOWC1Kcr2KPrZoHRSlWwHOcRnkn2nGT+aHY2KA==", "dev": true }, "acorn": { diff --git a/package.json b/package.json index 3f795b43..8d94cc67 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "semver": "^7.3.5" }, "devDependencies": { - "@vercel/ncc": "^0.29.1", + "@vercel/ncc": "^0.29.2", "eslint": "^7.32.0", "husky": "^7.0.1", "prettier": "^2.3.2", From 2c068c863f965fc10a9fb8ccac0359b99e7d05fb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 20 Aug 2021 08:08:44 +0000 Subject: [PATCH 03/16] chore(deps): bump @actions/core from 1.4.0 to 1.5.0 (#66) Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 1.4.0 to 1.5.0. - [Release notes](https://github.com/actions/toolkit/releases) - [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md) - [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core) --- updated-dependencies: - dependency-name: "@actions/core" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 6 +++--- package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 3dbaa30f..12229a69 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,9 +5,9 @@ "requires": true, "dependencies": { "@actions/core": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.4.0.tgz", - "integrity": "sha512-CGx2ilGq5i7zSLgiiGUtBCxhRRxibJYU6Fim0Q1Wg2aQL2LTnF27zbqZOrxfvFQ55eSBW0L8uVStgtKMpa0Qlg==" + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.5.0.tgz", + "integrity": "sha512-eDOLH1Nq9zh+PJlYLqEMkS/jLQxhksPNmUGNBHfa4G+tQmnIhzpctxmchETtVGyBOvXgOVVpYuE40+eS4cUnwQ==" }, "@actions/github": { "version": "5.0.0", diff --git a/package.json b/package.json index 8d94cc67..0613b2e4 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ }, "homepage": "https://github.com/fastify/github-action-merge-dependabot#readme", "dependencies": { - "@actions/core": "^1.4.0", + "@actions/core": "^1.5.0", "@actions/github": "^5.0.0", "node-fetch": "^2.6.1", "semver": "^7.3.5" From 2b1ef2e6fd6efa498c2cd97be910f2efb7b10f2e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 25 Aug 2021 08:09:50 +0000 Subject: [PATCH 04/16] chore(deps-dev): bump husky from 7.0.1 to 7.0.2 (#68) Bumps [husky](https://github.com/typicode/husky) from 7.0.1 to 7.0.2. - [Release notes](https://github.com/typicode/husky/releases) - [Commits](https://github.com/typicode/husky/compare/v7.0.1...v7.0.2) --- updated-dependencies: - dependency-name: husky dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 6 +++--- package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 12229a69..323c39ea 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1688,9 +1688,9 @@ } }, "husky": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/husky/-/husky-7.0.1.tgz", - "integrity": "sha512-gceRaITVZ+cJH9sNHqx5tFwbzlLCVxtVZcusME8JYQ8Edy5mpGDOqD8QBCdMhpyo9a+JXddnujQ4rpY2Ff9SJA==", + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/husky/-/husky-7.0.2.tgz", + "integrity": "sha512-8yKEWNX4z2YsofXAMT7KvA1g8p+GxtB1ffV8XtpAEGuXNAbCV5wdNKH+qTpw8SM9fh4aMPDR+yQuKfgnreyZlg==", "dev": true }, "ignore": { diff --git a/package.json b/package.json index 0613b2e4..2b195889 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "devDependencies": { "@vercel/ncc": "^0.29.2", "eslint": "^7.32.0", - "husky": "^7.0.1", + "husky": "^7.0.2", "prettier": "^2.3.2", "tap": "^15.0.9" } From f4158f38960cb9fa32bff58e42ea254736f267a7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 30 Aug 2021 08:09:22 +0000 Subject: [PATCH 05/16] chore(deps-dev): bump @vercel/ncc from 0.29.2 to 0.30.0 (#69) Bumps [@vercel/ncc](https://github.com/vercel/ncc) from 0.29.2 to 0.30.0. - [Release notes](https://github.com/vercel/ncc/releases) - [Commits](https://github.com/vercel/ncc/compare/0.29.2...0.30.0) --- updated-dependencies: - dependency-name: "@vercel/ncc" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 6 +++--- package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 323c39ea..8f5bf131 100644 --- a/package-lock.json +++ b/package-lock.json @@ -629,9 +629,9 @@ } }, "@vercel/ncc": { - "version": "0.29.2", - "resolved": "https://registry.npmjs.org/@vercel/ncc/-/ncc-0.29.2.tgz", - "integrity": "sha512-eUxibZD92k+rY0oZJFZooGqdVpGkDrrHlUhj9UAWrtoyXCGmNOWC1Kcr2KPrZoHRSlWwHOcRnkn2nGT+aHY2KA==", + "version": "0.30.0", + "resolved": "https://registry.npmjs.org/@vercel/ncc/-/ncc-0.30.0.tgz", + "integrity": "sha512-16ePj2GkwjomvE0HLL5ny+d+sudOwvZNYW8vjpMh3cyWdFxoMI8KSQiolVxeHBULbU1C5mVxLK5nL9NtnnpIew==", "dev": true }, "acorn": { diff --git a/package.json b/package.json index 2b195889..76d68252 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "semver": "^7.3.5" }, "devDependencies": { - "@vercel/ncc": "^0.29.2", + "@vercel/ncc": "^0.30.0", "eslint": "^7.32.0", "husky": "^7.0.2", "prettier": "^2.3.2", From 202fe08ee10fc5371d3cfa00b5696fe17db93588 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 1 Sep 2021 08:08:10 +0000 Subject: [PATCH 06/16] chore(deps): bump node-fetch from 2.6.1 to 3.0.0 (#70) Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.1 to 3.0.0. - [Release notes](https://github.com/node-fetch/node-fetch/releases) - [Changelog](https://github.com/node-fetch/node-fetch/blob/main/docs/CHANGELOG.md) - [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.1...v3.0.0) --- updated-dependencies: - dependency-name: node-fetch dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 35 ++++++++++++++++++++++++++++++++--- package.json | 2 +- 2 files changed, 33 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8f5bf131..5c02b03d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -608,6 +608,13 @@ "is-plain-object": "^5.0.0", "node-fetch": "^2.6.1", "universal-user-agent": "^6.0.0" + }, + "dependencies": { + "node-fetch": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz", + "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==" + } } }, "@octokit/request-error": { @@ -1101,6 +1108,11 @@ "assert-plus": "^1.0.0" } }, + "data-uri-to-buffer": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-3.0.1.tgz", + "integrity": "sha512-WboRycPNsVw3B3TL559F7kuBUM4d8CgMEvk6xEJlOp7OBPjt6G7z8WMWlD2rOFZLk6OYfFIUGsCOWzcQH9K2og==" + }, "debug": { "version": "4.3.1", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz", @@ -1402,6 +1414,14 @@ "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=", "dev": true }, + "fetch-blob": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/fetch-blob/-/fetch-blob-3.1.2.tgz", + "integrity": "sha512-hunJbvy/6OLjCD0uuhLdp0mMPzP/yd2ssd1t2FCJsaA7wkWhpbp9xfuNVpv7Ll4jFhzp6T4LAupSiV9uOeg0VQ==", + "requires": { + "web-streams-polyfill": "^3.0.3" + } + }, "file-entry-cache": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", @@ -2157,9 +2177,13 @@ "dev": true }, "node-fetch": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz", - "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==" + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-3.0.0.tgz", + "integrity": "sha512-bKMI+C7/T/SPU1lKnbQbwxptpCrG9ashG+VkytmXCPZyuM9jB6VU+hY0oi4lC8LxTtAeWdckNCTa3nrGsAdA3Q==", + "requires": { + "data-uri-to-buffer": "^3.0.1", + "fetch-blob": "^3.1.2" + } }, "node-preload": { "version": "0.2.1", @@ -4313,6 +4337,11 @@ "extsprintf": "^1.2.0" } }, + "web-streams-polyfill": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-3.1.0.tgz", + "integrity": "sha512-wO9r1YnYe7kFBLHyyVEhV1H8VRWoNiNnuP+v/HUUmSTaRF8F93Kmd3JMrETx0f11GXxRek6OcL2QtjFIdc5WYw==" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", diff --git a/package.json b/package.json index 76d68252..40617f63 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "dependencies": { "@actions/core": "^1.5.0", "@actions/github": "^5.0.0", - "node-fetch": "^2.6.1", + "node-fetch": "^3.0.0", "semver": "^7.3.5" }, "devDependencies": { From 47482a9b9f3e9278749cb4fbc54e5bdfe24c5894 Mon Sep 17 00:00:00 2001 From: KaKa Date: Thu, 2 Sep 2021 01:43:40 +0800 Subject: [PATCH 07/16] Revert "chore(deps): bump node-fetch from 2.6.1 to 3.0.0 (#70)" (#71) This reverts commit 202fe08ee10fc5371d3cfa00b5696fe17db93588. --- package-lock.json | 35 +++-------------------------------- package.json | 2 +- 2 files changed, 4 insertions(+), 33 deletions(-) diff --git a/package-lock.json b/package-lock.json index 5c02b03d..8f5bf131 100644 --- a/package-lock.json +++ b/package-lock.json @@ -608,13 +608,6 @@ "is-plain-object": "^5.0.0", "node-fetch": "^2.6.1", "universal-user-agent": "^6.0.0" - }, - "dependencies": { - "node-fetch": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz", - "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==" - } } }, "@octokit/request-error": { @@ -1108,11 +1101,6 @@ "assert-plus": "^1.0.0" } }, - "data-uri-to-buffer": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-3.0.1.tgz", - "integrity": "sha512-WboRycPNsVw3B3TL559F7kuBUM4d8CgMEvk6xEJlOp7OBPjt6G7z8WMWlD2rOFZLk6OYfFIUGsCOWzcQH9K2og==" - }, "debug": { "version": "4.3.1", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz", @@ -1414,14 +1402,6 @@ "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=", "dev": true }, - "fetch-blob": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/fetch-blob/-/fetch-blob-3.1.2.tgz", - "integrity": "sha512-hunJbvy/6OLjCD0uuhLdp0mMPzP/yd2ssd1t2FCJsaA7wkWhpbp9xfuNVpv7Ll4jFhzp6T4LAupSiV9uOeg0VQ==", - "requires": { - "web-streams-polyfill": "^3.0.3" - } - }, "file-entry-cache": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", @@ -2177,13 +2157,9 @@ "dev": true }, "node-fetch": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-3.0.0.tgz", - "integrity": "sha512-bKMI+C7/T/SPU1lKnbQbwxptpCrG9ashG+VkytmXCPZyuM9jB6VU+hY0oi4lC8LxTtAeWdckNCTa3nrGsAdA3Q==", - "requires": { - "data-uri-to-buffer": "^3.0.1", - "fetch-blob": "^3.1.2" - } + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz", + "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==" }, "node-preload": { "version": "0.2.1", @@ -4337,11 +4313,6 @@ "extsprintf": "^1.2.0" } }, - "web-streams-polyfill": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-3.1.0.tgz", - "integrity": "sha512-wO9r1YnYe7kFBLHyyVEhV1H8VRWoNiNnuP+v/HUUmSTaRF8F93Kmd3JMrETx0f11GXxRek6OcL2QtjFIdc5WYw==" - }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", diff --git a/package.json b/package.json index 40617f63..76d68252 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "dependencies": { "@actions/core": "^1.5.0", "@actions/github": "^5.0.0", - "node-fetch": "^3.0.0", + "node-fetch": "^2.6.1", "semver": "^7.3.5" }, "devDependencies": { From ab64982f84381da37c2c6beadbd59ee5b6419ee8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 2 Sep 2021 08:16:45 +0000 Subject: [PATCH 08/16] chore(deps): bump node-fetch from 2.6.1 to 3.0.0 (#73) Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.1 to 3.0.0. - [Release notes](https://github.com/node-fetch/node-fetch/releases) - [Changelog](https://github.com/node-fetch/node-fetch/blob/main/docs/CHANGELOG.md) - [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.1...v3.0.0) --- updated-dependencies: - dependency-name: node-fetch dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 35 ++++++++++++++++++++++++++++++++--- package.json | 2 +- 2 files changed, 33 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8f5bf131..5c02b03d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -608,6 +608,13 @@ "is-plain-object": "^5.0.0", "node-fetch": "^2.6.1", "universal-user-agent": "^6.0.0" + }, + "dependencies": { + "node-fetch": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz", + "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==" + } } }, "@octokit/request-error": { @@ -1101,6 +1108,11 @@ "assert-plus": "^1.0.0" } }, + "data-uri-to-buffer": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-3.0.1.tgz", + "integrity": "sha512-WboRycPNsVw3B3TL559F7kuBUM4d8CgMEvk6xEJlOp7OBPjt6G7z8WMWlD2rOFZLk6OYfFIUGsCOWzcQH9K2og==" + }, "debug": { "version": "4.3.1", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz", @@ -1402,6 +1414,14 @@ "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=", "dev": true }, + "fetch-blob": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/fetch-blob/-/fetch-blob-3.1.2.tgz", + "integrity": "sha512-hunJbvy/6OLjCD0uuhLdp0mMPzP/yd2ssd1t2FCJsaA7wkWhpbp9xfuNVpv7Ll4jFhzp6T4LAupSiV9uOeg0VQ==", + "requires": { + "web-streams-polyfill": "^3.0.3" + } + }, "file-entry-cache": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", @@ -2157,9 +2177,13 @@ "dev": true }, "node-fetch": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz", - "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==" + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-3.0.0.tgz", + "integrity": "sha512-bKMI+C7/T/SPU1lKnbQbwxptpCrG9ashG+VkytmXCPZyuM9jB6VU+hY0oi4lC8LxTtAeWdckNCTa3nrGsAdA3Q==", + "requires": { + "data-uri-to-buffer": "^3.0.1", + "fetch-blob": "^3.1.2" + } }, "node-preload": { "version": "0.2.1", @@ -4313,6 +4337,11 @@ "extsprintf": "^1.2.0" } }, + "web-streams-polyfill": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-3.1.0.tgz", + "integrity": "sha512-wO9r1YnYe7kFBLHyyVEhV1H8VRWoNiNnuP+v/HUUmSTaRF8F93Kmd3JMrETx0f11GXxRek6OcL2QtjFIdc5WYw==" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", diff --git a/package.json b/package.json index 76d68252..40617f63 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "dependencies": { "@actions/core": "^1.5.0", "@actions/github": "^5.0.0", - "node-fetch": "^2.6.1", + "node-fetch": "^3.0.0", "semver": "^7.3.5" }, "devDependencies": { From 4059a9c788187f42e98ffafa7a30c54f940e3a22 Mon Sep 17 00:00:00 2001 From: Manuel Spigolon Date: Thu, 2 Sep 2021 11:02:45 +0200 Subject: [PATCH 09/16] chore: only minor dependancy automerge (#72) --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1daf44a2..440f7584 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,3 +19,4 @@ jobs: - uses: fastify/github-action-merge-dependabot@main with: github-token: ${{ secrets.GITHUB_TOKEN }} + target: minor From 442097295d767b15c4dce119539a79a962c66fb2 Mon Sep 17 00:00:00 2001 From: Manuel Spigolon Date: Thu, 2 Sep 2021 11:23:23 +0200 Subject: [PATCH 10/16] Revert "chore(deps): bump node-fetch from 2.6.1 to 3.0.0 (#73)" (#74) This reverts commit ab64982f84381da37c2c6beadbd59ee5b6419ee8. --- package-lock.json | 35 +++-------------------------------- package.json | 2 +- 2 files changed, 4 insertions(+), 33 deletions(-) diff --git a/package-lock.json b/package-lock.json index 5c02b03d..8f5bf131 100644 --- a/package-lock.json +++ b/package-lock.json @@ -608,13 +608,6 @@ "is-plain-object": "^5.0.0", "node-fetch": "^2.6.1", "universal-user-agent": "^6.0.0" - }, - "dependencies": { - "node-fetch": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz", - "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==" - } } }, "@octokit/request-error": { @@ -1108,11 +1101,6 @@ "assert-plus": "^1.0.0" } }, - "data-uri-to-buffer": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-3.0.1.tgz", - "integrity": "sha512-WboRycPNsVw3B3TL559F7kuBUM4d8CgMEvk6xEJlOp7OBPjt6G7z8WMWlD2rOFZLk6OYfFIUGsCOWzcQH9K2og==" - }, "debug": { "version": "4.3.1", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz", @@ -1414,14 +1402,6 @@ "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=", "dev": true }, - "fetch-blob": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/fetch-blob/-/fetch-blob-3.1.2.tgz", - "integrity": "sha512-hunJbvy/6OLjCD0uuhLdp0mMPzP/yd2ssd1t2FCJsaA7wkWhpbp9xfuNVpv7Ll4jFhzp6T4LAupSiV9uOeg0VQ==", - "requires": { - "web-streams-polyfill": "^3.0.3" - } - }, "file-entry-cache": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", @@ -2177,13 +2157,9 @@ "dev": true }, "node-fetch": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-3.0.0.tgz", - "integrity": "sha512-bKMI+C7/T/SPU1lKnbQbwxptpCrG9ashG+VkytmXCPZyuM9jB6VU+hY0oi4lC8LxTtAeWdckNCTa3nrGsAdA3Q==", - "requires": { - "data-uri-to-buffer": "^3.0.1", - "fetch-blob": "^3.1.2" - } + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz", + "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==" }, "node-preload": { "version": "0.2.1", @@ -4337,11 +4313,6 @@ "extsprintf": "^1.2.0" } }, - "web-streams-polyfill": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-3.1.0.tgz", - "integrity": "sha512-wO9r1YnYe7kFBLHyyVEhV1H8VRWoNiNnuP+v/HUUmSTaRF8F93Kmd3JMrETx0f11GXxRek6OcL2QtjFIdc5WYw==" - }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", diff --git a/package.json b/package.json index 40617f63..76d68252 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "dependencies": { "@actions/core": "^1.5.0", "@actions/github": "^5.0.0", - "node-fetch": "^3.0.0", + "node-fetch": "^2.6.1", "semver": "^7.3.5" }, "devDependencies": { From 31202055175ddae7c7e8672fb54c4534b265bd2f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 7 Sep 2021 08:07:56 +0000 Subject: [PATCH 11/16] chore(deps): bump node-fetch from 2.6.1 to 2.6.2 (#77) Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.1 to 2.6.2. - [Release notes](https://github.com/node-fetch/node-fetch/releases) - [Changelog](https://github.com/node-fetch/node-fetch/blob/main/docs/CHANGELOG.md) - [Commits](https://github.com/node-fetch/node-fetch/commits) --- updated-dependencies: - dependency-name: node-fetch dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 6 +++--- package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8f5bf131..cd7ad052 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2157,9 +2157,9 @@ "dev": true }, "node-fetch": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz", - "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==" + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.2.tgz", + "integrity": "sha512-aLoxToI6RfZ+0NOjmWAgn9+LEd30YCkJKFSyWacNZdEKTit/ZMcKjGkTRo8uWEsnIb/hfKecNPEbln02PdWbcA==" }, "node-preload": { "version": "0.2.1", diff --git a/package.json b/package.json index 76d68252..e7b468f1 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "dependencies": { "@actions/core": "^1.5.0", "@actions/github": "^5.0.0", - "node-fetch": "^2.6.1", + "node-fetch": "^2.6.2", "semver": "^7.3.5" }, "devDependencies": { From c61eb2f6de16b62fda20ada99a60530baa0497e8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 10 Sep 2021 08:09:45 +0000 Subject: [PATCH 12/16] chore(deps-dev): bump prettier from 2.3.2 to 2.4.0 (#78) Bumps [prettier](https://github.com/prettier/prettier) from 2.3.2 to 2.4.0. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](https://github.com/prettier/prettier/compare/2.3.2...2.4.0) --- updated-dependencies: - dependency-name: prettier dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 6 +++--- package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index cd7ad052..6370ce22 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2396,9 +2396,9 @@ "dev": true }, "prettier": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.3.2.tgz", - "integrity": "sha512-lnJzDfJ66zkMy58OL5/NY5zp70S7Nz6KqcKkXYzn2tMVrNxvbqaBpg7H3qHaLxCJ5lNMsGuM8+ohS7cZrthdLQ==", + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.4.0.tgz", + "integrity": "sha512-DsEPLY1dE5HF3BxCRBmD4uYZ+5DCbvatnolqTqcxEgKVZnL2kUfyu7b8pPQ5+hTBkdhU9SLUmK0/pHb07RE4WQ==", "dev": true }, "process-on-spawn": { diff --git a/package.json b/package.json index e7b468f1..db448654 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "@vercel/ncc": "^0.30.0", "eslint": "^7.32.0", "husky": "^7.0.2", - "prettier": "^2.3.2", + "prettier": "^2.4.0", "tap": "^15.0.9" } } From 92be0dc78e9f362b0b5e6c916a938565cea0c47e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 10 Sep 2021 08:10:38 +0000 Subject: [PATCH 13/16] chore(deps-dev): bump @vercel/ncc from 0.30.0 to 0.31.0 (#79) Bumps [@vercel/ncc](https://github.com/vercel/ncc) from 0.30.0 to 0.31.0. - [Release notes](https://github.com/vercel/ncc/releases) - [Commits](https://github.com/vercel/ncc/compare/0.30.0...0.31.0) --- updated-dependencies: - dependency-name: "@vercel/ncc" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 6 +++--- package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6370ce22..b26e5750 100644 --- a/package-lock.json +++ b/package-lock.json @@ -629,9 +629,9 @@ } }, "@vercel/ncc": { - "version": "0.30.0", - "resolved": "https://registry.npmjs.org/@vercel/ncc/-/ncc-0.30.0.tgz", - "integrity": "sha512-16ePj2GkwjomvE0HLL5ny+d+sudOwvZNYW8vjpMh3cyWdFxoMI8KSQiolVxeHBULbU1C5mVxLK5nL9NtnnpIew==", + "version": "0.31.0", + "resolved": "https://registry.npmjs.org/@vercel/ncc/-/ncc-0.31.0.tgz", + "integrity": "sha512-vpioWEFk00Sk5CgJj39LFAjqXcM0PLcaSqaEDeZZUKfHEKYmHL5tOns7Xd21/o4SKzRi+XE0qhEv9wWwkfmNaA==", "dev": true }, "acorn": { diff --git a/package.json b/package.json index db448654..c7e60859 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "semver": "^7.3.5" }, "devDependencies": { - "@vercel/ncc": "^0.30.0", + "@vercel/ncc": "^0.31.0", "eslint": "^7.32.0", "husky": "^7.0.2", "prettier": "^2.4.0", From b11595f58f37d29851c3c433788eaa7f9c458e90 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 14 Sep 2021 08:07:54 +0000 Subject: [PATCH 14/16] chore(deps-dev): bump @vercel/ncc from 0.31.0 to 0.31.1 (#80) Bumps [@vercel/ncc](https://github.com/vercel/ncc) from 0.31.0 to 0.31.1. - [Release notes](https://github.com/vercel/ncc/releases) - [Commits](https://github.com/vercel/ncc/compare/0.31.0...0.31.1) --- updated-dependencies: - dependency-name: "@vercel/ncc" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 6 +++--- package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index b26e5750..ee3164f7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -629,9 +629,9 @@ } }, "@vercel/ncc": { - "version": "0.31.0", - "resolved": "https://registry.npmjs.org/@vercel/ncc/-/ncc-0.31.0.tgz", - "integrity": "sha512-vpioWEFk00Sk5CgJj39LFAjqXcM0PLcaSqaEDeZZUKfHEKYmHL5tOns7Xd21/o4SKzRi+XE0qhEv9wWwkfmNaA==", + "version": "0.31.1", + "resolved": "https://registry.npmjs.org/@vercel/ncc/-/ncc-0.31.1.tgz", + "integrity": "sha512-g0FAxwdViI6UzsiVz5HssIHqjcPa1EHL6h+2dcJD893SoCJaGdqqgUF09xnMW6goWnnhbLvgiKlgJWrJa+7qYA==", "dev": true }, "acorn": { diff --git a/package.json b/package.json index c7e60859..b3be1bdd 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "semver": "^7.3.5" }, "devDependencies": { - "@vercel/ncc": "^0.31.0", + "@vercel/ncc": "^0.31.1", "eslint": "^7.32.0", "husky": "^7.0.2", "prettier": "^2.4.0", From 9ee764d0a83a4cb27ee379d52378cca92caf1f08 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 16 Sep 2021 08:09:12 +0000 Subject: [PATCH 15/16] chore(deps-dev): bump prettier from 2.4.0 to 2.4.1 (#81) Bumps [prettier](https://github.com/prettier/prettier) from 2.4.0 to 2.4.1. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](https://github.com/prettier/prettier/compare/2.4.0...2.4.1) --- updated-dependencies: - dependency-name: prettier dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 6 +++--- package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index ee3164f7..d6d6a0cc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2396,9 +2396,9 @@ "dev": true }, "prettier": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.4.0.tgz", - "integrity": "sha512-DsEPLY1dE5HF3BxCRBmD4uYZ+5DCbvatnolqTqcxEgKVZnL2kUfyu7b8pPQ5+hTBkdhU9SLUmK0/pHb07RE4WQ==", + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.4.1.tgz", + "integrity": "sha512-9fbDAXSBcc6Bs1mZrDYb3XKzDLm4EXXL9sC1LqKP5rZkT6KRr/rf9amVUcODVXgguK/isJz0d0hP72WeaKWsvA==", "dev": true }, "process-on-spawn": { diff --git a/package.json b/package.json index b3be1bdd..0859ee6b 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "@vercel/ncc": "^0.31.1", "eslint": "^7.32.0", "husky": "^7.0.2", - "prettier": "^2.4.0", + "prettier": "^2.4.1", "tap": "^15.0.9" } } From e8459a6e6bdee2ce55226baa290d66f6fbb035f8 Mon Sep 17 00:00:00 2001 From: Leonardo Rossi Date: Mon, 20 Sep 2021 10:10:58 +0200 Subject: [PATCH 16/16] Change type of exclude property to csv (#76) * Change type of exclude parameter to csv * Update src/util.js Co-authored-by: Simone Busoli --- README.md | 4 ++-- dist/index.js | 50 ++++++++++++++++++++++++++++++++++++++++++-------- src/util.js | 6 +++++- 3 files changed, 49 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 79b9d2f4..76ecb2ee 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ This action automatically approves and merges dependabot PRs. ### `exclude` -_Optional_ An array of packages that you don't want to auto-merge and would like to manually review to decide whether to upgrade or not. +_Optional_ An comma separated value of packages that you don't want to auto-merge and would like to manually review to decide whether to upgrade or not. ### `approve-only` @@ -75,7 +75,7 @@ steps: - uses: fastify/github-action-merge-dependabot@v2.1.1 with: github-token: ${{ secrets.GITHUB_TOKEN }} - exclude: ['react'] + exclude: 'react,fastify' ``` ### Approving without merging diff --git a/dist/index.js b/dist/index.js index a7cbb846..99932a8b 100644 --- a/dist/index.js +++ b/dist/index.js @@ -134,7 +134,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; Object.defineProperty(exports, "__esModule", ({ value: true })); -exports.getState = exports.saveState = exports.group = exports.endGroup = exports.startGroup = exports.info = exports.warning = exports.error = exports.debug = exports.isDebug = exports.setFailed = exports.setCommandEcho = exports.setOutput = exports.getBooleanInput = exports.getMultilineInput = exports.getInput = exports.addPath = exports.setSecret = exports.exportVariable = exports.ExitCode = void 0; +exports.getState = exports.saveState = exports.group = exports.endGroup = exports.startGroup = exports.info = exports.notice = exports.warning = exports.error = exports.debug = exports.isDebug = exports.setFailed = exports.setCommandEcho = exports.setOutput = exports.getBooleanInput = exports.getMultilineInput = exports.getInput = exports.addPath = exports.setSecret = exports.exportVariable = exports.ExitCode = void 0; const command_1 = __nccwpck_require__(7351); const file_command_1 = __nccwpck_require__(717); const utils_1 = __nccwpck_require__(5278); @@ -312,19 +312,30 @@ exports.debug = debug; /** * Adds an error issue * @param message error issue message. Errors will be converted to string via toString() + * @param properties optional properties to add to the annotation. */ -function error(message) { - command_1.issue('error', message instanceof Error ? message.toString() : message); +function error(message, properties = {}) { + command_1.issueCommand('error', utils_1.toCommandProperties(properties), message instanceof Error ? message.toString() : message); } exports.error = error; /** - * Adds an warning issue + * Adds a warning issue * @param message warning issue message. Errors will be converted to string via toString() + * @param properties optional properties to add to the annotation. */ -function warning(message) { - command_1.issue('warning', message instanceof Error ? message.toString() : message); +function warning(message, properties = {}) { + command_1.issueCommand('warning', utils_1.toCommandProperties(properties), message instanceof Error ? message.toString() : message); } exports.warning = warning; +/** + * Adds a notice issue + * @param message notice issue message. Errors will be converted to string via toString() + * @param properties optional properties to add to the annotation. + */ +function notice(message, properties = {}) { + command_1.issueCommand('notice', utils_1.toCommandProperties(properties), message instanceof Error ? message.toString() : message); +} +exports.notice = notice; /** * Writes info to log with console.log. * @param message info message @@ -458,7 +469,7 @@ exports.issueCommand = issueCommand; // We use any as a valid input type /* eslint-disable @typescript-eslint/no-explicit-any */ Object.defineProperty(exports, "__esModule", ({ value: true })); -exports.toCommandValue = void 0; +exports.toCommandProperties = exports.toCommandValue = void 0; /** * Sanitizes an input into a string so it can be passed into issueCommand safely * @param input input to sanitize into a string @@ -473,6 +484,25 @@ function toCommandValue(input) { return JSON.stringify(input); } exports.toCommandValue = toCommandValue; +/** + * + * @param annotationProperties + * @returns The command properties to send with the actual annotation command + * See IssueCommandProperties: https://github.com/actions/runner/blob/main/src/Runner.Worker/ActionCommandManager.cs#L646 + */ +function toCommandProperties(annotationProperties) { + if (!Object.keys(annotationProperties).length) { + return {}; + } + return { + title: annotationProperties.title, + line: annotationProperties.startLine, + endLine: annotationProperties.endLine, + col: annotationProperties.startColumn, + endColumn: annotationProperties.endColumn + }; +} +exports.toCommandProperties = toCommandProperties; //# sourceMappingURL=utils.js.map /***/ }), @@ -6794,10 +6824,14 @@ const getMergeMethod = () => { return mergeMethods[input] } +const parseCommaSeparatedValue = (value) => { + return value.split(',').map(el => el.trim() ); +} + exports.getInputs = () => ({ GITHUB_TOKEN: core.getInput('github-token', { required: true }), MERGE_METHOD: getMergeMethod(), - EXCLUDE_PKGS: core.getInput('exclude') || [], + EXCLUDE_PKGS: parseCommaSeparatedValue(core.getInput('exclude')) || [], MERGE_COMMENT: core.getInput('merge-comment') || '', APPROVE_ONLY: /true/i.test(core.getInput('approve-only')), API_URL: core.getInput('api-url'), diff --git a/src/util.js b/src/util.js index c95a1766..b92b0f4d 100644 --- a/src/util.js +++ b/src/util.js @@ -24,10 +24,14 @@ const getMergeMethod = () => { return mergeMethods[input] } +const parseCommaSeparatedValue = (value) => { + return value.split(',').map(el => el.trim()); +} + exports.getInputs = () => ({ GITHUB_TOKEN: core.getInput('github-token', { required: true }), MERGE_METHOD: getMergeMethod(), - EXCLUDE_PKGS: core.getInput('exclude') || [], + EXCLUDE_PKGS: parseCommaSeparatedValue(core.getInput('exclude')) || [], MERGE_COMMENT: core.getInput('merge-comment') || '', APPROVE_ONLY: /true/i.test(core.getInput('approve-only')), API_URL: core.getInput('api-url'),