From b69033b7e94add0c782c7508b9c16c5cefd1ffb5 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Thu, 16 Feb 2023 00:07:40 +0000 Subject: [PATCH] Release 1.0.16 [skip ci] --- CHANGELOG.md | 7 +++++++ dist/index.js | 4 +--- package.json | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 733fb4b..dbc03b6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [1.0.16](https://github.com/sebastiancretu/notion-status-and-pr-update/compare/v1.0.15...v1.0.16) (2023-02-16) + + +### Bug Fixes + +* added more conditions ([5126379](https://github.com/sebastiancretu/notion-status-and-pr-update/commit/5126379f9a056dce5f9a8901788a8fa565033dd1)) + ## [1.0.15](https://github.com/sebastiancretu/notion-status-and-pr-update/compare/v1.0.14...v1.0.15) (2023-02-15) diff --git a/dist/index.js b/dist/index.js index 85aaf91..71a401d 100644 --- a/dist/index.js +++ b/dist/index.js @@ -28126,8 +28126,7 @@ const SupportedType = { }; const { inputs, pull_request } = (0, github_1.default)(); const run = async () => { - console.log(inputs.related_status); - if (inputs.notion_properties.pull_request?.relation && !inputs.related_status) + if (!inputs.related_status) return; const bodyNotionLinks = (0, utils_1.getUrlsFromString)({ body: pull_request.body, @@ -28149,7 +28148,6 @@ const run = async () => { if (prProperty.type === SupportedType.relation) { let relation; const currentPullRequest = await (0, notion_1.getPullRequestPage)(); - console.log(currentPullRequest, relation); if (!currentPullRequest) { relation = await (0, notion_1.addPullRequestPage)(); } diff --git a/package.json b/package.json index 647d988..38f2420 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "notion-status-and-pr-update", - "version": "1.0.15", + "version": "1.0.16", "description": "", "main": "src/index.ts", "scripts": {