1
Fork 0
No description
This repository has been archived on 2023-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
Find a file
dependabot-preview[bot] 14c6048628
Bump pygithub from 1.50 to 1.53
Bumps [pygithub](https://github.com/PyGithub/PyGithub) from 1.50 to 1.53.
- [Release notes](https://github.com/PyGithub/PyGithub/releases)
- [Commits](https://github.com/PyGithub/PyGithub/compare/v1.50...v1.53)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-24 07:13:04 +00:00
.github/workflows Split docker into separate CI task 2020-01-09 16:53:10 +00:00
scripts Rename package so it has a valid name 2020-01-08 22:38:40 +00:00
todoist_github Also check PR reviews 2020-03-01 12:57:13 +00:00
.gitignore Init project 2020-01-08 20:17:53 +00:00
dev-requirements.txt Bump flake8-builtins from 1.5.0 to 1.5.2 2020-03-23 09:17:10 +00:00
Dockerfile Make application work as package from inside docker container 2020-01-21 19:25:13 +00:00
README.md Add example docker-compose file to readme 2020-01-21 19:27:48 +00:00
requirements.txt Bump pygithub from 1.50 to 1.53 2020-08-24 07:13:04 +00:00
setup.cfg Init project 2020-01-08 20:17:53 +00:00

Todoist GitHub

Import assigned issues and PRs into Todoist.

A docker container is available for easy usage: https://hub.docker.com/r/theorangeone/todoist-github

Requirements

  • requirements.txt installed in your environment
  • $TODOIST_TOKEN
  • $GITHUB_TOKEN (Requires at least public_repo, repo required for access to private repositories)

Usage

Run python3 -m todoist_github to run once. --interval can be used to provide the number of seconds between automated updates.

Task Details

Task names are built using the task link and title, and are updated automatically on rename.

Tasks are added to projects based on the repository organisation / owner or repository name. If specially named projects exist as children of these, they're used instead. If no project is found, $DEFAULT_TODOIST_PROJECT_NAME can be used, else no project is assigned.

Task due dates are based off their milestone.

Once an issue is closed / PR merged, the task is completed. If you're unassigned, the issue is deleted.

Example docker-compose.yml

version: '3'
services:
  todoist-github:
    image: theorangeone/todoist-github:latest
    container_name: todoist-github
    restart: unless-stopped
    command: python3 -m todoist_github --interval 900
    environment:
      - TODOIST_TOKEN=
      - GITHUB_TOKEN=