Skip to content

Notion Update Page

Actions
Update property of Notion page on commit
2.0.3
Latest
Star (14)

Notion Update Page

on_master

GitHub action to update a Notion page property on commit created by merging a Pull Request.

Originally built for updating version tag in Notion page on commit. See the test workflow as an example.

Example Usage

uses: szenius/notion-update-page@3.0.0
with:
  gh-username: "username"
  gh-token: ${{ secrets.GH_ACCESS_TOKEN }}
  notion-key: ${{ secrets.NOTION_KEY }}
  notion-property-name: "Status"
  notion-update-value: "Merged"
  notion-property-type: "rich_text"
  existing-value: "overwrite"
  • gh-username: GitHub username of user who has access to the repository
  • gh-token: GitHub access token of user who has access to the repository
  • notion-key: Notion Integration Secret Key
  • notion-property-name: Notion Page property to be updated
  • notion-update-value: New value for Notion page property
  • notion-property-type (optional): Type of Notion Page property. Can be rich_text or multi_select. Defaults to rich_text.
  • existing-value (optional): What to do with existing value in field to be updated. Can be append or overwrite. Defaults to
    • overwrite if notion-property-type is rich_text
    • append if notion-property-type is multi_select

The test workflow is linked to this Notion database.

Notion Update Page is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Update property of Notion page on commit
2.0.3
Latest

Notion Update Page is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.