feat: add an error callback option to provide the affected data #99
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Notion PR Sync | |
on: | |
issues: | |
types: | |
[ | |
opened, | |
edited, | |
deleted, | |
transferred, | |
pinned, | |
unpinned, | |
closed, | |
reopened, | |
assigned, | |
unassigned, | |
labeled, | |
unlabeled, | |
locked, | |
unlocked, | |
milestoned, | |
demilestoned, | |
] | |
pull_request: | |
types: | |
[ | |
assigned, | |
unassigned, | |
labeled, | |
unlabeled, | |
opened, | |
edited, | |
closed, | |
reopened, | |
synchronize, | |
converted_to_draft, | |
ready_for_review, | |
locked, | |
unlocked, | |
review_requested, | |
review_request_removed, | |
auto_merge_enabled, | |
auto_merge_disabled, | |
] | |
jobs: | |
request: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Sync Github PRs to Notion | |
uses: sivashanmukh/[email protected] | |
with: | |
notionKey: ${{ secrets.NOTION_BOT_KEY }} | |
notionDatabaseId: ${{ secrets.NOTION_PR_DB_ID }} | |
githubKey: ${{ secrets.PAT }} |