Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
book-open

GitHub Action

Notion Update Page

1.1.3

Notion Update Page

book-open

Notion Update Page

Update property of Notion page on commit

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Notion Update Page

uses: szenius/[email protected]

Learn more about this action in szenius/notion-update-page

Choose a version

Notion Update Page

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/[email protected]
with:
  gh-username: "username"
  gh-token: ${{ secrets.GH_ACCESS_TOKEN }}
  notion-key: ${{ secrets.NOTION_KEY }}
  notion-property-name: "Status"
  notion-update-value: "Merged"
  • 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

The test workflow is linked to this Notion database.