diff --git a/action.yml b/action.yml index df1f8d8..d760393 100644 --- a/action.yml +++ b/action.yml @@ -1,7 +1,8 @@ name: 'Notion release notes' description: 'Creates a new page in an existing database to capture release notes' -icon: type -color: green +branding: + icon: type + color: green inputs: token: description: 'Notion API token' diff --git a/readme.md b/readme.md index 72050c6..4cb7953 100644 --- a/readme.md +++ b/readme.md @@ -8,7 +8,7 @@ This would typically be used alongside https://github.com/mikepenz/release-chang First, you need to have an integration access token - which you can get from https://www.notion.so/my-integrations after creating an integration. Give the integration a friendly name like 'Github Action Release Notes'. -By default integrations cant access any contentm so you you *must* share your database with the integration you created earlier to be able to access it! +By default integrations cant access any content so you you *must* share your database with the integration you created earlier to be able to access it! ## Notion Database @@ -18,6 +18,8 @@ This action expects a Notion database with the following properties: - Date: date - Tags: tags +You can use the following template and duplicate it: https://infinitaslearning.notion.site/Notion-Release-Notes-a97bedb581464a3ea24159d8eac576c0 + It can look like this: Screenshot 2021-12-18 at 08 55 42 @@ -50,5 +52,5 @@ To get the database ID, simply browse to it, click on the '...' and get a 'Copy ## Development -Assumes you have `@vercel/ncc` installed globally. +Assumes you have `@vercel/ncc` installed globally, you need a `NOTION_TOKEN` in your environment for the tests to pass. After changes ensure you `npm run build`, commit and then submit a PR.