Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.

temporalio/github-repo-notion-sync

Repository files navigation

Sync an organization's GitHub repo list and permissions to a Notion DB

Development

Setup

git clone https://github.com/temporalio/github-repo-notion-sync.git
cd github-repo-notion-sync
npm i

Running

temporal server start-dev
NOTION_TOKEN="foo" GITHUB_TOKEN="bar" npm start

If you need to check how many calls to the GitHub API you have left, run:

GITHUB_TOKEN="bar" USER="github_username" npm run check-rate-limit

Deployment

NOTION_TOKEN="<notion integration token>"
GITHUB_TOKEN="<personal access token with org read permissions>"
NODE_ENV="production"
TEMPORAL_SERVER="loren.a2dd6.tmprl.cloud:7233"
NAMESPACE="loren.a2dd6"
TEMPORAL_CLOUD_CERT="-----BEGIN CERTIFICATE----- EUsd..."
TEMPORAL_CLOUD_KEY="-----BEGIN PRIVATE KEY----- LQaz..."

About

Sync an organization's GitHub repo list to a Notion DB

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published