Skip to content

Commit 857df50

Browse files
feat: setup connection to notion db (#21)
## what - following the [Notion x GitHub Action GHA setup instructions](https://github.com/marketplace/actions/notion-x-github-action), let's connect this repo's issues and the [Masterpointio Github Issues page](https://www.notion.so/masterpoint/17b859758a56806a9000ff4bc2bde8b4?v=17b859758a56817ca64c000c1b6b471d) ## references - let's see if this expression, `closes #INT-52`, closes the issue [INT-52](https://www.notion.so/masterpoint/Create-automation-for-Masterpoint-GH-issues-creating-Notion-tickets-auto-assign-to-a-team-member--c51a716979fe44f7a0163a1c3353f9ef) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced an automated integration that syncs issue updates with Notion. This enhancement triggers on various issue actions—such as creation, updates, and status changes—ensuring streamlined tracking and improved workflow management. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Matt Gowie <matt@masterpoint.io>
1 parent 52e2664 commit 857df50

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)