From 7c54945dc554959e82ebd93b0436884ecc117ca9 Mon Sep 17 00:00:00 2001 From: erikdies Date: Wed, 29 Jun 2022 08:49:56 -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 }}