From cb92f8f9495afb1de7534a898324e43deee64f55 Mon Sep 17 00:00:00 2001 From: erikdies Date: Fri, 1 Jul 2022 09:14:11 -0400 Subject: [PATCH] Create issues-notion-sync.yml --- .github/workflows/issues-notion-sync.yml | 29 ++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/issues-notion-sync.yml diff --git a/.github/workflows/issues-notion-sync.yml b/.github/workflows/issues-notion-sync.yml new file mode 100644 index 0000000..551362b --- /dev/null +++ b/.github/workflows/issues-notion-sync.yml @@ -0,0 +1,29 @@ +name: Notion Sync + +on: + workflow_dispatch: + issues: + types: + [ + opened, + edited, + labeled, + unlabeled, + assigned, + unassigned, + milestoned, + demilestoned, + reopened, + closed, + ] + +jobs: + notion_job: + runs-on: ubuntu-latest + name: Add GitHub Issues to Notion + steps: + - name: Add GitHub Issues to Notion + uses: vulcanize/notion-github-action@v1.2.4-issueid + with: + notion-token: ${{ secrets.NOTION_TOKEN }} + notion-db: ${{ secrets.NOTION_DATABASE }}