GithubHelp home page GithubHelp logo

issue-to-notion's Introduction

issue-to-notion

This action make ISSUEs affect TO NOTION cards.
Issue OPEN/CLOSE/EDIT/REOPEN event will make a corresponding action to your Notion DB

๐Ÿ˜‰ Pre-order of Notion-to-Github and get discount!

We provide issue-to-notion for free! But it's hard to make Notion-to-Github...
So we need to check its demand is enough. If you want it, plz answer below typeform.
If you answer, you will get 10% discount a year. If you pre-pay 9.9$, you will get 30% discount a year.
(Surely it can be free if it doesn't use any paid resource)
Answer HERE : typeform Link

๐Ÿš€ WHAT's NEW? (v1.1.1)

1. Custom property & status

you can choose which DB property set to which status, when issue OPEN/CLOSE

2. Edit/Close/Reopen will work nicely

Edit/Close/Reopen will work even though there isn't a corresponding card.
It will create notion card when there isn't!

๐Ÿ™ƒ Usage

Your DB should have "name" property

Create .github/workflows/issue-to-notion.yml in your repository. And copy&paste following, and edit appropriately.

name: issue_to_notion
on:
  issues:
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: Notion Card Creator
        uses: dodo4114/[email protected]
        env:
          NOTION_TOKEN: ${{ secrets.NOTION_TOKEN }}
          DATABASE_URL: {YOUR DB URL}
          PROPERTY_NAME : {YOUR PROPERTY NAME}
          STATE_OPEN : {YOUR OPEN STATE NAME}
          STATE_CLOSED : {YOUR CLOSED STATE NAME}
Input Key Required Default value Description
NOTION_TOKEN O X Auth token called token_v2 from cookie in your browser. Put it your repository secret, and name it NOTION_TOKEN(Recommended)
DATABASE_URL O X The url of the database you are trying to access
PROPERTY_NAME X status Name of your PROPERTY which will be changed
STATE_OPEN X open Your OPEN state name
STATE_CLOSED X closed Your CLOSED state name

Example

this repo and this notion DB

Dependency

This action uses

Reference

https://developer.github.com/webhooks/event-payloads/#issues

HELP?

[email protected]

Hits

issue-to-notion's People

Contributors

just-dodo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.