Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

notion-github-action

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

notion-github-action

A GitHub Action that syncs issues to a Notion database. Multi-repository friendly.

  • 1.1.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
32
decreased by-40.74%
Maintainers
1
Weekly downloads
 
Created
Source

Notion x GitHub Action

Code Style: Google

Connect your GitHub issues to a Notion database.

Like this GitHub Action? Give us a ⭐️ and follow us on Twitter for more drops 🪂.


Quick Start

  1. Create a new internal Notion integration and note the value of the Internal Integration Token.
  2. In your GitHub repository, go to Settings > Secrets, and add a New repository secret. Set the Name to NOTION_TOKEN and the Value to the Internal Integration Token you created in the previous step.
  3. Set up your Notion Database. Use this template and duplicate it to your workspace. Screen Shot 2021-06-14 at 11 37 51 AM
  4. In your Notion Database page's Share menu, add the Notion integration you created as a member with the Can edit privilege. You may have to type your integration's name in the Invite field. Screen Shot 2021-06-14 at 11 41 25 AM
  5. Find the ID of your Database by copying the link to it. The link will have the format
https://www.notion.so/abc?v=123

where abc is the database id.

  1. Add the Database's ID as a repository secret for your GitHub repository. Set the Name to NOTION_DATABASE and the Value to the id of your Database.

  2. In your GitHub repository, create a GitHub workflow file at the path .github/workflows/issues-notion-sync.yml.

on:
  issues:
    types: [opened, edited, labeled, unlabeled, assigned, unassigned, milestoned, demilestoned, reopened, closed]

jobs:
  notion_job:
    runs-on: ubuntu-latest
    name: Add GitHub Issues to Notion
    steps:
      - name: Add GitHub Issues to Notion
        uses: instantish/notion-github-action@v1.1.0
        with:
          notion-token: ${{ secrets.NOTION_TOKEN }}
          notion-db: ${{ secrets.NOTION_DATABASE }}

Built with 💙 by the team behind Fabric.

Keywords

FAQs

Package last updated on 04 Oct 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc