Souvikns / Notion-Board

Sync GitHub issue to you notion database.
Apache License 2.0
22 stars 10 forks source link

Notion API now allows for creating and updating of properties #26

Closed csholmq closed 3 years ago

csholmq commented 3 years ago

image

https://developers.notion.com/reference/update-a-database

This could potentially automate some of the initial setting up of a database.

Souvikns commented 3 years ago

This is awesome now we don't need to manually create the properties. I will start working on this issue this weekend.

Souvikns commented 3 years ago

I haven't released a couple of things left, but I did something to solve this issue. On workflow_dispatch I am updating the notion database with all the required properties. I will release it after I update the documentation.

Souvikns commented 3 years ago

I have made a release, fixing this issue. But I think the issue with labels still persists

csholmq commented 3 years ago

I could confirm that the labels workaround fix did the trick. If the labels trigger finished before creating the issue the extra labels call in the create issue function still sets them correctly.

Souvikns commented 3 years ago

Yeah, it is working fine. New workflow runs are reacted in parallel that's why some runs fail.

Souvikns commented 3 years ago

Shall I close this issue, as I have created a workflow_dispatch to auto-setup the Notion database with the required properties?

csholmq commented 3 years ago

Fine by me. You call the shots 🙂