Giter Club home page Giter Club logo

reviewhelper's Introduction

ReviewHelper

A Github Action regularly query Notion Database & send review reminder.

How to

First, Fork this repository

Prepare

Set GitHub Action Secrets

  1. DATABASE_ID # Your Notion Database ID
  2. TOKEN # Your Notion Integration Token
  3. MAIL_USERNAME # Your E-Mail Sender adress
  4. MAIL_PASSWORD # Your E-Mail SMTP Authorization code
  5. MAIL_RECIPIENT # Your E-Mail recipient adress

Change Settings

In .github/workflows/reviewHelper-action.yml

  • If you're not using Gmail as the sender, change the server_address in line 44.
  • This action default runs per 12 hours, if you are not satisfied with that, change the cron setting.
    • for instance, run every 6 hours in every day: cron: "0 */6 * * *"

In index.js

  • This action default sends 3 notes everytime. You can change that by setting const QUERY_NUM in line 12
  • You need to change the const QUERY_KEYS to fit your database column names.
  • Change or remove your sort setting in line 27. Need to match your target column name.

Chinese Guide (汉语说明)

see this blog.

reviewhelper's People

Contributors

jimsunjing 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.