GitHub Action
Sync GitHub Issues to Notion
v1.0
Latest version
A simple tool to sync GitHub issues to Notion beautifully
一個簡單的工具,將 GitHub 的 issue 優雅的同步到 Notion
- Sync issue to Notion
- Sync State to Notion
- Sync labels to Notion
- Sync URL to Notion
- Sync content to Notion with full markdown support
- Won't repeat recreating the same issue
- Update status if exists
- Create a new integration in Notion and get the token
- Copy database ID from the URL of the database
- For example:
https://www.notion.so/myworkspace/Database-1234567890abcdef1234567890abcdef
1234567890abcdef1234567890abcdef
is the database ID
- For example:
- Set three GitHub secrets in the repository settings
NOTION_API_KEY
: The token of the Notion integrationNOTION_DATABASE_ID
: The ID of the Notion database
- Create a workflow file in the repository
- Copy and paste the full code below into your .yml file:
name: Sync issues to Notion
on:
issues:
types: [opened, edited, deleted, closed, reopened]
workflow_dispatch:
jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Notion GitHub Issues Automation
uses: Edit-Mr/GitHub-issue-2-Notion@main
with:
repo: ${{ github.repository }}
NOTION_API_KEY: ${{ secrets.NOTION_API_KEY }}
NOTION_DATABASE: ${{ secrets.NOTION_DATABASE_ID }}