GitHub action to update a Notion page property.
uses: rimonhanna/[email protected]
with:
notion-key: ${{ secrets.NOTION_KEY }}
notion-page-id: ${{ secrets.NOTION_PAGE_ID }}
notion-property-name: "Status"
notion-update-value: "Merged"
notion-property-type: "rich_text"
existing-value: "overwrite"
notion-key
: Notion Integration Secret Keynotion-page-id
: Notion Page Id to be updatednotion-property-name
: Notion Page property to be updatednotion-update-value
: New value for Notion page propertynotion-property-type
(optional): Type of Notion Page property. Can berich_text
ormulti_select
. Defaults torich_text
.existing-value
(optional): What to do with existing value in field to be updated. Can beappend
oroverwrite
. Defaults tooverwrite
ifnotion-property-type
isrich_text
append
ifnotion-property-type
ismulti_select