Skip to content

Commit

Permalink
Implement a GitHub CI cron job to open issues on new Notion API chang…
Browse files Browse the repository at this point in the history
…elog entries (#244)

* Draft for monitor API Changelog entries (#234)

* Add GitHub issue creation for new Notion changelog entries

* Add GitHub Action to monitor Notion API changelog

* Add manual trigger for Notion changelog monitor workflow

* Replace custom HTML-to-Markdown logic with markdownify library. Improve retrieval of more complex html blocks

* Update monitor_notion_changelog.py to keep less information in known_entries.json. Add some exception handlers to break the script.

* The logic related to issue deletion on save failures was eliminated to reduce complexity

* Remove an entry to test GitHub action

* Update known entries file [skip ci]

* Update monitor_notion_changelog.py to use original repo

* Make known_entries.json easier to read and editorconfig compliant

* Try to fix Codecov

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: ramnes <[email protected]>
  • Loading branch information
3 people authored Dec 26, 2024
1 parent 6fdb998 commit a375fbd
Show file tree
Hide file tree
Showing 3 changed files with 582 additions and 0 deletions.
386 changes: 386 additions & 0 deletions .github/scripts/known_entries.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,386 @@
{
"9c59688a2260a4034f4346440626e895": {
"section_id": "october-25---november-7-2022",
"title": "October 25 - November 7, 2022"
},
"049a614d7b1db7de4bc57fa922ee465a": {
"section_id": "october-25-2021",
"title": "October 25, 2021"
},
"134e5aee3bdae1075733406df79ec201": {
"section_id": "october-17-2021",
"title": "October 17, 2021"
},
"60d2f67870fa74d6fd5bfa768a8a174b": {
"section_id": "june-20---july-4-2022",
"title": "June 20 - July 4, 2022"
},
"b6541f266a511e2c17e1ec4b6970a746": {
"section_id": "october-18-2021",
"title": "October 18, 2021"
},
"b045623536d14c5c39e7f34c9070741f": {
"section_id": "may-30---june-12-2023",
"title": "May 30 - June 12, 2023"
},
"ec39e59563676fc8db28efbcbff73a6a": {
"section_id": "november-8---21-2022",
"title": "November 8 - 21, 2022"
},
"46d631bb602026eaa4a866fe8b624e11": {
"section_id": "february-14---27-2023",
"title": "February 14 - 27, 2023"
},
"2a9aa5fbf846c6541c2d5ee377332429": {
"section_id": "july-19-2022",
"title": "July 19, 2022"
},
"ff12eaa18b64b6a127a846f3f94fbf8f": {
"section_id": "march-8-2022",
"title": "March 8, 2022"
},
"bc16d08d0b2d045dab07bb3ae57a47f4": {
"section_id": "august-20-2021-1",
"title": "August 20, 2021"
},
"a3c8ffe84591d18f29db01e05d16aab2": {
"section_id": "september-9-2024",
"title": "September 9, 2024"
},
"41f8c06c1ff42552027ff3e3fe98a430": {
"section_id": "august-15---28-2022",
"title": "August 15 - 28, 2022"
},
"ac06a44e8a5a019dd08754010f57d801": {
"section_id": "april-18---may-1-2023",
"title": "April 18 - May 1, 2023"
},
"114f559f79b027faeb7c41d71d2103ea": {
"section_id": "january-5-2022",
"title": "January 5, 2022"
},
"045014f292a770e47cca2b6631291b14": {
"section_id": "march-18-2022",
"title": "March 18, 2022"
},
"7550cea780c5deec94a2543a8eb4e81f": {
"section_id": "august-20-2021",
"title": "August 20, 2021"
},
"d53b62fd2d38a0ad0b9e441b95cef1c7": {
"section_id": "july-15-2021",
"title": "July 15, 2021"
},
"373d16ed0ff5be7731be04ea64420c48": {
"section_id": "august-1---14-2022",
"title": "August 1 - 14, 2022"
},
"e0b5846dce3875f064288c9b1e0a927d": {
"section_id": "july-5---17-2022",
"title": "July 5 - 17, 2022"
},
"a63ecdbafc83a8f56bdd84b41d50ac76": {
"section_id": "october-7-2021",
"title": "October 7, 2021"
},
"70b335268429f49b318996681cd7c2ae": {
"section_id": "november-22---december-5-2022",
"title": "November 22 - December 5, 2022"
},
"040912310156510bae9a977d5d798024": {
"section_id": "october-14-2021",
"title": "October 14, 2021"
},
"6fc39b71feaa6f78cc12aa19c51319c0": {
"section_id": "may-2---may-15-2023",
"title": "May 2 - May 15, 2023"
},
"704c0f35841151df40195287b1613624": {
"section_id": "january-18---30-2023",
"title": "January 18 - 30, 2023"
},
"6628058c9b9c7daca9b47efc6375ba40": {
"section_id": "december-6---18-2022",
"title": "December 6 - 18, 2022"
},
"7ca2a49e2dd5262c6904603435e019f8": {
"section_id": "may-16---may-29-2023",
"title": "May 16 - May 29, 2023"
},
"9741c16a5111f440ed5694962ed47ba8": {
"section_id": "july-11---july-24-2023",
"title": "July 11 - July 24, 2023"
},
"b6de39d66163ce0a287ad06d788fd3a7": {
"section_id": "august-23---september-5-2023",
"title": "August 23 - September 5, 2023"
},
"181d96d03757b96cf9b5b7be3b08c664": {
"section_id": "changes-for-november-27---december-10-2023",
"title": "Changes for November 27 - December 10, 2023"
},
"647fc4d4b2e5c08b6a019c0f73701513": {
"section_id": "february-14-2022---28-2022-block-by-block-edition",
"title": "February 14, 2022 - 28, 2022: Block by Block edition!"
},
"2c7d0922e849d2db0d0754f316420a03": {
"section_id": "july-18---july-31-2022",
"title": "July 18 - July 31, 2022"
},
"16434f97c0fa8edb0d5675a8615f6d69": {
"section_id": "september-9-2021",
"title": "September 9, 2021"
},
"7e557007b7b65bdbe4ad1732f7820aac": {
"section_id": "october-11-2021",
"title": "October 11, 2021"
},
"067874754eb3698fce182c8800faa51a": {
"section_id": "march-7-2022",
"title": "March 7, 2022"
},
"8980eaa4811af81ba04a0ab1f47bf603": {
"section_id": "august-31-2022",
"title": "August 31, 2022"
},
"342bf3ef7110618e678137c2a9478318": {
"section_id": "july-6-2022",
"title": "July 6, 2022"
},
"8456436d0282e57901dc782568c91f11": {
"section_id": "march-14---april-17-2023",
"title": "March 14 - April 17, 2023"
},
"f80d9b144110230d0e75b95efa187aa1": {
"section_id": "january-3---17-2023",
"title": "January 3 - 17, 2023"
},
"a83697c462ea88a0d42364699a936bb3": {
"section_id": "april-25---may-9-2022",
"title": "April 25 - May 9, 2022"
},
"43a80730881bc41d564c5bd77bcaa96a": {
"section_id": "july-13-2021",
"title": "July 13, 2021"
},
"18adfdc2388f95c4661eb01824075b4d": {
"section_id": "june-28-2021",
"title": "June 28, 2021"
},
"839562cb2250db1c5d1c9e40ecb470e8": {
"section_id": "may-13-2021",
"title": "May 13, 2021"
},
"bb63a4311e145924fde18070b6568be1": {
"section_id": "october-15-2021",
"title": "October 15, 2021"
},
"1cc9cbebacc9852a9b43feb4cc1009b6": {
"section_id": "may-4-2021",
"title": "May 4, 2021"
},
"e7506c504db915d98ec91f7dee6503ec": {
"section_id": "december-20-2024",
"title": "December 20, 2024"
},
"85ec0e91b98977b5b0c812f4741edc11": {
"section_id": "december-15-2021",
"title": "December 15, 2021"
},
"ac9da9d7378417f94b957ad4d01b7054": {
"section_id": "march-28---april-10-2022",
"title": "March 28 - April 10, 2022"
},
"17683b743c14315fa4f1f9bd41f508f3": {
"section_id": "february-28-2022---march-13-2022",
"title": "February 28, 2022 - March 13, 2022"
},
"4744a6c1cf65f44d78eb2136119862df": {
"section_id": "august-3-2021",
"title": "August 3, 2021"
},
"14a3f989777156bf99100ce2013b6267": {
"section_id": "february-28---march-13-2023",
"title": "February 28 - March 13, 2023"
},
"177ca916b731c278cdde582b210a212c": {
"section_id": "june-13---july-10-2023",
"title": "June 13 - July 10, 2023"
},
"9e4084075feafe2c4161c9b5be44d17e": {
"section_id": "september-6---september-7-2023",
"title": "September 6 - September 7, 2023"
},
"1a7cd52c8bb7423ed8aa24a4b814bfaa": {
"section_id": "september-12---25-2022",
"title": "September 12 - 25, 2022"
},
"9334832a07fe3124b140a7d1e9fa6bcf": {
"section_id": "january-31-2022---february-13-2022",
"title": "January 31, 2022 - February 13, 2022"
},
"6f737ee2e1532badadf824242dae4e64": {
"section_id": "july-26-2021",
"title": "July 26, 2021"
},
"91fca51675c7b89d645810de4b33e4f6": {
"section_id": "september-8---september-21-2023",
"title": "September 8 - September 21, 2023"
},
"1fdcf594c6d3173e25a8b96f788de59a": {
"section_id": "july-22-2021",
"title": "July 22, 2021"
},
"b628da437d3380d7cd62b4edd8dd46f8": {
"section_id": "august-11-2021",
"title": "August 11, 2021"
},
"728d4f05e693779fbd9356d67a0c116c": {
"section_id": "may-18-2021",
"title": "May 18, 2021"
},
"8e7f0734c9cc622c0ce8409f79d85618": {
"section_id": "changes-for-april-2024",
"title": "Changes for April 2024"
},
"fc2b750585502e94eee8e913d3ef75ea": {
"section_id": "may-10-2022",
"title": "May 10, 2022"
},
"d0fa038b5895b4824e6e509bda57dcd9": {
"section_id": "may-9---22-2022",
"title": "May 9 - 22, 2022"
},
"6a2f3c8058b24b434aa7272ccb988262": {
"section_id": "january-31---february-13-2023",
"title": "January 31 - February 13, 2023"
},
"9d32abb72dc11dd0ea1ea14cb42fe076": {
"section_id": "march-1-2022",
"title": "March 1, 2022"
},
"45755ae92070da70a5901bd6272fa145": {
"section_id": "june-6---june-19-2022",
"title": "June 6 - June 19, 2022"
},
"f9ba6d1f4161ea05a888a3572e1eaa21": {
"section_id": "may-23---june-5-2022",
"title": "May 23 - June 5, 2022"
},
"b3cad04e4d6e028ae598ab92e9bc4f36": {
"section_id": "july-21-2021",
"title": "July 21, 2021"
},
"51d1b39cf4fde4e9c73e4e964e9c9a69": {
"section_id": "april-11---24-2022",
"title": "April 11 - 24, 2022"
},
"caf7a7b0d513c9217c86741f4f726ddb": {
"section_id": "june-23-2021",
"title": "June 23, 2021"
},
"2914537a27404022d072374d74ac3a74": {
"section_id": "may-3-2021",
"title": "May 3, 2021"
},
"09f13d9339b2f3961fcc5c50a0947b27": {
"section_id": "november-10-2021",
"title": "November 10, 2021"
},
"8f0c630828d479177025c0906c1a0c81": {
"section_id": "march-14---27-2022",
"title": "March 14 - 27, 2022"
},
"4f7cecaa27fa4e1d16a680dbed5b3389": {
"section_id": "august-29---september-11-2022",
"title": "August 29 - September 11, 2022"
},
"2d069e42f3574bbcdcfe324d591e29f4": {
"section_id": "september-17-2021",
"title": "September 17, 2021"
},
"3c894829c8fd96942b0b1325e3ed88c3": {
"section_id": "december-19-2022---january-2-2023",
"title": "December 19, 2022 - January 2, 2023"
},
"c8cabcbc8cb928b9567b834331c65428": {
"section_id": "august-8---august-22-2023",
"title": "August 8 - August 22, 2023"
},
"bfe09e82fb7b1a95979c45f0668efa45": {
"section_id": "october-1-2021",
"title": "October 1, 2021"
},
"415da0cdeb82386acef7b1e1ca19fee9": {
"section_id": "july-7-2021",
"title": "July 7, 2021"
},
"01905831069d3e0fdc60098b87b123cd": {
"section_id": "december-14-2021",
"title": "December 14, 2021"
},
"2e2f855bc5bbce7ae71a48c581e4e326": {
"section_id": "october-5-2021",
"title": "October 5, 2021"
},
"5ffa49f551130a9e52938aa5483ab7f4": {
"section_id": "january-25-2022",
"title": "January 25, 2022"
},
"37ec558cc5e5efe380c744e9b0ffbd97": {
"section_id": "october-4-2021",
"title": "October 4, 2021"
},
"011d4a0f47743895c8aa01cdb6b78d61": {
"section_id": "august-24-2021",
"title": "August 24, 2021"
},
"ce61ad7fd27fdb4a3e2d9dc923302093": {
"section_id": "september-11-2024",
"title": "September 11, 2024"
},
"c838d16d1f25c238e6bdbd9ad33fd6e0": {
"section_id": "may-19-2021",
"title": "May 19, 2021"
},
"481d8fcc9b6d654eeb3d6202dc9d53d9": {
"section_id": "july-25---august-7-2023",
"title": "July 25 - August 7, 2023"
},
"846d36e88f3dd788b2df9778a6a77680": {
"section_id": "september-21-2021",
"title": "September 21, 2021"
},
"74c92f9f889dae83fa9edd43bcd5d484": {
"section_id": "october-11---24-2022",
"title": "October 11 - 24, 2022"
},
"6be04eb5e8bdbbb1231202fb38558063": {
"section_id": "july-1-2021",
"title": "July 1, 2021"
},
"21d0d574fa3e7d33b0712018ba29b2f2": {
"section_id": "february-25-2022",
"title": "February 25, 2022"
},
"9d2941d102fe4a994aeaf738dd66e1d2": {
"section_id": "august-11-2021-1",
"title": "August 11, 2021"
},
"577c91d2b907e8a7aab5a3b9292fe646": {
"section_id": "november-17-2021",
"title": "November 17, 2021"
},
"ae4286ad5676182e511f7a4dee5b4b0f": {
"section_id": "september-26---october-10-2022",
"title": "September 26 - October 10, 2022"
},
"4bdc971c9e7752ab24e16de1d5b874ba": {
"section_id": "september-10-2021",
"title": "September 10, 2021"
},
"bd452a96cd875928b9a87727145c42dd": {
"section_id": "june-15-2021",
"title": "June 15, 2021"
}
}
Loading

0 comments on commit a375fbd

Please sign in to comment.