{"id":15021391,"url":"https://github.com/szenius/notion-update-page","last_synced_at":"2025-04-09T19:50:46.610Z","repository":{"id":42490178,"uuid":"405297072","full_name":"szenius/notion-update-page","owner":"szenius","description":"Update Notion page property on merge of pull request","archived":false,"fork":false,"pushed_at":"2023-05-05T17:07:32.000Z","size":262,"stargazers_count":14,"open_issues_count":1,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-23T21:45:53.149Z","etag":null,"topics":["action","actions","github","github-actions","notion","notion-api","notion-database","notion-enhancer","pull","pull-request","pull-requests","pullrequest"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/szenius.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-09-11T05:58:10.000Z","updated_at":"2024-08-23T04:35:02.000Z","dependencies_parsed_at":"2025-02-15T18:42:06.420Z","dependency_job_id":null,"html_url":"https://github.com/szenius/notion-update-page","commit_stats":{"total_commits":42,"total_committers":2,"mean_commits":21.0,"dds":0.04761904761904767,"last_synced_commit":"fec65f62eb9257d6d0be4fcec7337b210332f8f2"},"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szenius%2Fnotion-update-page","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szenius%2Fnotion-update-page/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szenius%2Fnotion-update-page/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szenius%2Fnotion-update-page/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/szenius","download_url":"https://codeload.github.com/szenius/notion-update-page/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248103930,"owners_count":21048244,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["action","actions","github","github-actions","notion","notion-api","notion-database","notion-enhancer","pull","pull-request","pull-requests","pullrequest"],"created_at":"2024-09-24T19:56:31.731Z","updated_at":"2025-04-09T19:50:46.582Z","avatar_url":"https://github.com/szenius.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Notion Update Page\n\n![on_master](https://github.com/szenius/notion-update-page/actions/workflows/on_master.yml/badge.svg)\n\nGitHub action to update a Notion page property on commit created by merging a Pull Request.\n\nOriginally built for updating version tag in Notion page on commit. See [the test workflow](.github/workflows/on_master.yml) as an example.\n\n## Example Usage\n\n```yml\nuses: szenius/notion-update-page@3.0.0\nwith:\n  gh-username: \"username\"\n  gh-token: ${{ secrets.GH_ACCESS_TOKEN }}\n  notion-key: ${{ secrets.NOTION_KEY }}\n  notion-property-name: \"Status\"\n  notion-update-value: \"Merged\"\n  notion-property-type: \"rich_text\"\n  existing-value: \"overwrite\"\n```\n\n- `gh-username`: GitHub username of user who has access to the repository\n- `gh-token`: GitHub access token of user who has access to the repository\n- `notion-key`: Notion Integration Secret Key\n- `notion-property-name`: Notion Page property to be updated\n- `notion-update-value`: New value for Notion page property\n- `notion-property-type` (optional): Type of Notion Page property. Can be `rich_text` or `multi_select`. Defaults to `rich_text`.\n- `existing-value` (optional): What to do with existing value in field to be updated. Can be `append` or `overwrite`. Defaults to\n  - `overwrite` if `notion-property-type` is `rich_text`\n  - `append` if `notion-property-type` is `multi_select`\n\nThe [test workflow](.github/workflows/on_master.yml) is linked to [this Notion database](https://szenius.notion.site/4964f7c754f54c41abce56028d990ac6?v=9ece5b75d4914584b43685bcbc6f3d1c).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fszenius%2Fnotion-update-page","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fszenius%2Fnotion-update-page","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fszenius%2Fnotion-update-page/lists"}