Skip to content

Commit

Permalink
Release 1.0.16 [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
semantic-release-bot committed Feb 16, 2023
1 parent 5126379 commit b69033b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)


Expand Down
4 changes: 1 addition & 3 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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)();
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "notion-status-and-pr-update",
"version": "1.0.15",
"version": "1.0.16",
"description": "",
"main": "src/index.ts",
"scripts": {
Expand Down

0 comments on commit b69033b

Please sign in to comment.