Skip to content

Commit

Permalink
Create workflow for syncing Notion and Issues (#642)
Browse files Browse the repository at this point in the history
  • Loading branch information
blakehatch authored Jan 31, 2024
1 parent 6de799d commit 5470857
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/issues-notion-sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Notion Sync

on:
workflow_dispatch:
issues:
types:
[
opened,
edited,
labeled,
unlabeled,
assigned,
unassigned,
milestoned,
demilestoned,
reopened,
closed,
]

permissions: read-all

jobs:
notion_job:
runs-on: ubuntu-latest
name: Add GitHub Issues to Notion
steps:
- name: Harden Runner
uses: step-security/harden-runner@eb238b55efaa70779f274895e782ed17c84f2895 # v2.6.1
with:
egress-policy: audit

- name: Add GitHub Issues to Notion
uses: tryfabric/notion-github-action@10c6b128faeb9a1f16efc65a0b388b7595047e62 # v1.2.3
with:
notion-token: ${{ secrets.NOTION_TOKEN }}
notion-db: ${{ secrets.NOTION_DATABASE }}

0 comments on commit 5470857

Please sign in to comment.