Skip to content

Sync Notion Dev Tasks to GitHub Issues #4348

Sync Notion Dev Tasks to GitHub Issues

Sync Notion Dev Tasks to GitHub Issues #4348

name: Sync Notion Dev Tasks to GitHub Issues
on:
schedule:
- cron: "*/15 * * * *" # Every 15 minutes
workflow_dispatch:
permissions:
contents: read
issues: write
jobs:
notion-to-github:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
- name: Sync tasks from Notion to GitHub
env:
NOTION_TOKEN: ${{ secrets.NOTION_TOKEN }}
NOTION_DEV_TASKS_DB_ID: ${{ secrets.NOTION_DEV_TASKS_DB_ID }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: node scripts/notion-to-github.js