mirror of
https://github.com/d-eniz/jupymd.git
synced 2026-07-22 05:46:56 +00:00
ci: add todoist sync workflow
This commit is contained in:
parent
162e5f56bb
commit
a4758daaf5
1 changed files with 27 additions and 0 deletions
27
.github/workflows/todoist-sync.yml
vendored
Normal file
27
.github/workflows/todoist-sync.yml
vendored
Normal 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
|
||||
Loading…
Reference in a new issue