Skip to content

Commit c84dc0d

Browse files
committed
feat: add GHA to sync issues to Notion DB
1 parent 59acbd6 commit c84dc0d

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/notion-sync.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Notion Sync
2+
3+
permissions:
4+
issues: read
5+
6+
on:
7+
workflow_dispatch:
8+
issues:
9+
types:
10+
- opened
11+
- edited
12+
- labeled
13+
- unlabeled
14+
- assigned
15+
- unassigned
16+
- milestoned
17+
- demilestoned
18+
- reopened
19+
- closed
20+
21+
jobs:
22+
notion_job:
23+
runs-on: ubuntu-latest
24+
name: Add GitHub Issues to Notion
25+
steps:
26+
- name: Add GitHub Issues to Notion
27+
uses: tryfabric/notion-github-action@10c6b128faeb9a1f16efc65a0b388b7595047e62
28+
with:
29+
notion-token: ${{ secrets.GH_ISSUES_NOTION_TOKEN }}
30+
notion-db: ${{ secrets.GH_ISSUES_DB_ID }}

0 commit comments

Comments
 (0)