/Notion-Board

Sync GitHub issue with your notion board

Primary LanguageTypeScriptApache License 2.0Apache-2.0

logo

Notion Board

Table of contents

Introduction

This action lets you sync your GitHub issue with your notion board. Currently it syncs issue title, body, state and labels.

More features on the way.

Inputs

input description required
NOTION_API_KEY your notion api key true
NOTION_DATABASE your notion database id true
GITHUB_TOKEN your github token true

Usage

name: Notion Board
on:
  issues:
  issue_comment:
jobs:
  notion:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: Notion Board
        uses: Souvikns/Notion-Board@1.0.0
        env: 
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          NOTION_API_KEY: ${{ secrets.NOTION_API_KEY }}
          NOTION_DATABASE: ${{ secrets.NOTION_DATABASE }}

Start with setting up an integration and sharing your Notion database with the integration.

After setting up your workflow, add your NOTION_API_KEY and NOTION_DATABASE secrets to your repository.

As of right now notion API does not allow creating or changing properties, meaning you have to add these properties manually to your database in order to use this action.

  • URL - type: URL
  • id - type: Number
  • state - type: Select
  • labels - type: Multi-Select

Screenshot

board