ci: add todoist sync workflow

This commit is contained in:
Deniz Terzioglu 2026-04-15 22:50:08 +01:00 committed by GitHub
parent 162e5f56bb
commit a4758daaf5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

27
.github/workflows/todoist-sync.yml vendored Normal file
View file

@ -0,0 +1,27 @@
name: Sync GitHub to Todoist
on:
issues:
types: [opened, reopened, assigned]
pull_request:
types: [opened, reopened, assigned]
workflow_dispatch:
jobs:
sync:
runs-on: ubuntu-latest
permissions:
contents: read
issues: read
pull-requests: read
steps:
- name: Create or backfill Todoist tasks
uses: d-eniz/todoist-repo-sync@v0.3.0
with:
todoist-token: ${{ secrets.TODOIST_TOKEN }}
todoist-project-id: ${{ secrets.TODOIST_PROJECT_ID }}
github-token: ${{ secrets.GITHUB_TOKEN }}
default-priority: P3
add-reminder: false
fallback-time-date: false
default-section: Backlog