Sync the pull requests that you need to review to Todoist
Note: Ideally I would publish a Todoist app and use OAuth, but that is a future improvement that I will make.
- Create a Todoist account
- Go to Manage App
- Click on "Create a new app"
- Fill in the App Name
- Scroll down and click on "Create test token"
- The above token is your
TODOIST_TOKEN
To find the project id:
- Go to the web version of Todoist
- Click on the project you want to use
- The project id is the number in the url. Example: https://todoist.com/app/project/2313648356. The project id is
2313648356
- Go to the repo you want to use
- Click on "Settings"
- Click on "Webhooks"
- Click on "Add webhook"
- Fill in the Payload URL with the url of the api. Example: https://sync-tasks.railway.app/github/webhook
- Fill in the Content type with "application/json"
- Select "Let me select individual events"
- Select "Pull requests"
- Click on "Add webhook"
TODOIST_TOKEN=
TODOIST_PROJECT=
GITHUB_TARGET_REVIEWER=
@sync-tasks/web
@sync-tasks/api
@sync-tasks/trpc