From 5804f049e1ab39f8b6e41c4c42f121d2e04c781b Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Mon, 2 Oct 2023 04:28:50 +0000 Subject: [PATCH] build(release): 1.2.2 [skip ci] ## [1.2.2](https://github.com/actions/create-github-app-token/compare/v1.2.1...v1.2.2) (2023-10-02) ### Bug Fixes * **deps:** bump the production-dependencies group with 3 updates ([#51](https://github.com/actions/create-github-app-token/issues/51)) ([6d98b25](https://github.com/actions/create-github-app-token/commit/6d98b259d9c6bef17db279eb4aefbbd031400ba4)), closes [#1511](https://github.com/actions/create-github-app-token/issues/1511) [#535](https://github.com/actions/create-github-app-token/issues/535) [#535](https://github.com/actions/create-github-app-token/issues/535) [#533](https://github.com/actions/create-github-app-token/issues/533) [#531](https://github.com/actions/create-github-app-token/issues/531) [#530](https://github.com/actions/create-github-app-token/issues/530) [#524](https://github.com/actions/create-github-app-token/issues/524) [#637](https://github.com/actions/create-github-app-token/issues/637) [#637](https://github.com/actions/create-github-app-token/issues/637) [#631](https://github.com/actions/create-github-app-token/issues/631) [#626](https://github.com/actions/create-github-app-token/issues/626) --- dist/main.cjs | 6 +++--- dist/post.cjs | 8 +++++--- package.json | 2 +- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/dist/main.cjs b/dist/main.cjs index c6dad18..d244296 100644 --- a/dist/main.cjs +++ b/dist/main.cjs @@ -1602,7 +1602,7 @@ var require_oidc_utils = __commonJS({ Error Code : ${error.statusCode} - Error Message: ${error.result.message}`); + Error Message: ${error.message}`); }); const id_token = (_a = res.result) === null || _a === void 0 ? void 0 : _a.value; if (!id_token) { @@ -2793,7 +2793,7 @@ var require_dist_node5 = __commonJS({ module2.exports = __toCommonJS2(dist_src_exports); var import_endpoint = require_dist_node2(); var import_universal_user_agent = require_dist_node(); - var VERSION = "8.1.1"; + var VERSION = "8.1.2"; var import_is_plain_object = require_is_plain_object(); var import_request_error = require_dist_node4(); function getBufferResponse(response) { @@ -14984,7 +14984,7 @@ var require_dist_node12 = __commonJS({ return sendRequestWithRetries(state, request2, options, createdAt, retries); } } - var VERSION = "6.0.0"; + var VERSION = "6.0.1"; var import_auth_oauth_user2 = require_dist_node9(); function createAppAuth2(options) { if (!options.appId) { diff --git a/dist/post.cjs b/dist/post.cjs index f54b096..498fdab 100644 --- a/dist/post.cjs +++ b/dist/post.cjs @@ -1602,7 +1602,7 @@ var require_oidc_utils = __commonJS({ Error Code : ${error.statusCode} - Error Message: ${error.result.message}`); + Error Message: ${error.message}`); }); const id_token = (_a = res.result) === null || _a === void 0 ? void 0 : _a.value; if (!id_token) { @@ -2793,7 +2793,7 @@ var require_dist_node5 = __commonJS({ module2.exports = __toCommonJS2(dist_src_exports); var import_endpoint = require_dist_node2(); var import_universal_user_agent = require_dist_node(); - var VERSION = "8.1.1"; + var VERSION = "8.1.2"; var import_is_plain_object = require_is_plain_object(); var import_request_error = require_dist_node4(); function getBufferResponse(response) { @@ -2956,8 +2956,10 @@ var import_core = __toESM(require_core(), 1); // lib/post.js async function post(core2, request2) { const token = core2.getState("token"); - if (!token) + if (!token) { + core2.info("Token is not set"); return; + } await request2("DELETE /installation/token", { headers: { authorization: `token ${token}` diff --git a/package.json b/package.json index df301ed..6dd67c2 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "create-github-app-token", "private": true, "type": "module", - "version": "1.2.1", + "version": "1.2.2", "description": "GitHub Action for creating a GitHub App Installation Access Token", "scripts": { "build": "esbuild main.js post.js --bundle --outdir=dist --out-extension:.js=.cjs --platform=node --target=node16.16",