Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set up Github Dependabot to automatically update github dependencies. #22

Open
wants to merge 2,181 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2181 commits
Select commit Hold shift + click to select a range
277726a
add new heatmap
actions-user Dec 31, 2024
85dd70e
add new heatmap
actions-user Dec 31, 2024
2b854e4
add new heatmap
actions-user Dec 31, 2024
3712e05
add new heatmap
actions-user Dec 31, 2024
e2953a3
add new heatmap
actions-user Dec 31, 2024
59981dc
add new heatmap
actions-user Dec 31, 2024
c58bf82
add new heatmap
actions-user Dec 31, 2024
100a547
add new heatmap
actions-user Jan 1, 2025
7d2e112
add new heatmap
actions-user Jan 1, 2025
ed2f671
add new heatmap
actions-user Jan 1, 2025
628e76d
add new heatmap
actions-user Jan 1, 2025
20ed99c
add new heatmap
actions-user Jan 1, 2025
6335c19
add new heatmap
actions-user Jan 1, 2025
0df1151
add new heatmap
actions-user Jan 1, 2025
2b2bee6
add new heatmap
actions-user Jan 1, 2025
20b1832
add new heatmap
actions-user Jan 2, 2025
49c4c7a
add new heatmap
actions-user Jan 2, 2025
07d4080
add new heatmap
actions-user Jan 2, 2025
4594f28
add new heatmap
actions-user Jan 2, 2025
5603b14
add new heatmap
actions-user Jan 2, 2025
ae162e7
add new heatmap
actions-user Jan 2, 2025
ce5e5f5
add new heatmap
actions-user Jan 2, 2025
c251a4c
add new heatmap
actions-user Jan 2, 2025
7c7b1c0
add new heatmap
actions-user Jan 3, 2025
542b166
add new heatmap
actions-user Jan 3, 2025
b3d5061
add new heatmap
actions-user Jan 3, 2025
e80ab07
add new heatmap
actions-user Jan 3, 2025
47246b8
add new heatmap
actions-user Jan 3, 2025
aec58c6
add new heatmap
actions-user Jan 3, 2025
67260b7
add new heatmap
actions-user Jan 3, 2025
847886d
add new heatmap
actions-user Jan 3, 2025
e3800f1
add new heatmap
actions-user Jan 4, 2025
a9f64ef
add new heatmap
actions-user Jan 4, 2025
d9e3626
add new heatmap
actions-user Jan 4, 2025
28b051a
add new heatmap
actions-user Jan 4, 2025
196d254
add new heatmap
actions-user Jan 4, 2025
c0c6131
add new heatmap
actions-user Jan 4, 2025
63f87c2
add new heatmap
actions-user Jan 4, 2025
274bfcd
add new heatmap
actions-user Jan 4, 2025
0397198
add new heatmap
actions-user Jan 5, 2025
7254be5
add new heatmap
actions-user Jan 5, 2025
c2835c9
add new heatmap
actions-user Jan 5, 2025
4d5d85a
add new heatmap
actions-user Jan 5, 2025
6dfe80c
add new heatmap
actions-user Jan 5, 2025
1dfc98d
add new heatmap
actions-user Jan 5, 2025
5e3f7c5
add new heatmap
actions-user Jan 5, 2025
d6f264e
add new heatmap
actions-user Jan 5, 2025
49167f2
add new heatmap
actions-user Jan 6, 2025
a29708f
add new heatmap
actions-user Jan 6, 2025
d0a2596
add new heatmap
actions-user Jan 6, 2025
37a46d6
add new heatmap
actions-user Jan 6, 2025
cd4f754
add new heatmap
actions-user Jan 6, 2025
b6c93b2
add new heatmap
actions-user Jan 6, 2025
9727afd
add new heatmap
actions-user Jan 6, 2025
694e74f
add new heatmap
actions-user Jan 6, 2025
430858b
add new heatmap
actions-user Jan 7, 2025
3b6bf1f
add new heatmap
actions-user Jan 7, 2025
1b1a7e4
add new heatmap
actions-user Jan 7, 2025
e17a755
add new heatmap
actions-user Jan 7, 2025
8c07172
add new heatmap
actions-user Jan 7, 2025
0813eca
add new heatmap
actions-user Jan 7, 2025
b56f15c
add new heatmap
actions-user Jan 7, 2025
f4e5ca5
add new heatmap
actions-user Jan 7, 2025
72ab97a
add new heatmap
actions-user Jan 8, 2025
29acb92
add new heatmap
actions-user Jan 8, 2025
ac8b8b5
add new heatmap
actions-user Jan 8, 2025
3c5ccd4
add new heatmap
actions-user Jan 8, 2025
853618f
add new heatmap
actions-user Jan 8, 2025
cb302ac
add new heatmap
actions-user Jan 8, 2025
73915f9
add new heatmap
actions-user Jan 8, 2025
d429ac0
add new heatmap
actions-user Jan 8, 2025
e04e30b
add new heatmap
actions-user Jan 9, 2025
a04e52e
add new heatmap
actions-user Jan 9, 2025
24f3aa6
add new heatmap
actions-user Jan 9, 2025
e858dac
add new heatmap
actions-user Jan 9, 2025
9c1a3fe
add new heatmap
actions-user Jan 9, 2025
1f66082
add new heatmap
actions-user Jan 9, 2025
b5f6b82
add new heatmap
actions-user Jan 9, 2025
14e2148
add new heatmap
actions-user Jan 9, 2025
02a8af5
add new heatmap
actions-user Jan 10, 2025
fc4fc2e
add new heatmap
actions-user Jan 10, 2025
347e69c
add new heatmap
actions-user Jan 10, 2025
3488536
add new heatmap
actions-user Jan 10, 2025
df9958a
add new heatmap
actions-user Jan 10, 2025
a4f8d66
add new heatmap
actions-user Jan 10, 2025
6564886
add new heatmap
actions-user Jan 10, 2025
d9ca14e
add new heatmap
actions-user Jan 10, 2025
e51b236
add new heatmap
actions-user Jan 11, 2025
eb6ef34
add new heatmap
actions-user Jan 11, 2025
356aff7
add new heatmap
actions-user Jan 11, 2025
a22e8b8
add new heatmap
actions-user Jan 11, 2025
3ca4f07
add new heatmap
actions-user Jan 11, 2025
67a82f0
add new heatmap
actions-user Jan 11, 2025
0fb7321
add new heatmap
actions-user Jan 11, 2025
aaa246c
add new heatmap
actions-user Jan 11, 2025
21120a1
add new heatmap
actions-user Jan 12, 2025
fdae4cc
add new heatmap
actions-user Jan 12, 2025
d6dced6
add new heatmap
actions-user Jan 12, 2025
3135a19
add new heatmap
actions-user Jan 12, 2025
cf5e6ce
add new heatmap
actions-user Jan 12, 2025
ee91892
add new heatmap
actions-user Jan 12, 2025
0528258
add new heatmap
actions-user Jan 12, 2025
bc81896
add new heatmap
actions-user Jan 12, 2025
74ea25d
add new heatmap
actions-user Jan 13, 2025
5ea5573
add new heatmap
actions-user Jan 13, 2025
5a20a09
add new heatmap
actions-user Jan 13, 2025
42abcca
add new heatmap
actions-user Jan 13, 2025
b735f24
add new heatmap
actions-user Jan 13, 2025
9548aa2
add new heatmap
actions-user Jan 13, 2025
461bc9c
add new heatmap
actions-user Jan 13, 2025
689fb86
add new heatmap
actions-user Jan 13, 2025
7197249
add new heatmap
actions-user Jan 14, 2025
1f47bfb
add new heatmap
actions-user Jan 14, 2025
a3aefbe
add new heatmap
actions-user Jan 14, 2025
388ed38
add new heatmap
actions-user Jan 14, 2025
94217e4
add new heatmap
actions-user Jan 14, 2025
6970960
add new heatmap
actions-user Jan 14, 2025
89cde06
add new heatmap
actions-user Jan 14, 2025
8be4b6b
add new heatmap
actions-user Jan 14, 2025
5e52323
add new heatmap
actions-user Jan 15, 2025
e3debae
add new heatmap
actions-user Jan 15, 2025
def6131
add new heatmap
actions-user Jan 15, 2025
f5912ce
add new heatmap
actions-user Jan 15, 2025
a5b9bf4
add new heatmap
actions-user Jan 15, 2025
c8c049b
add new heatmap
actions-user Jan 15, 2025
7745d28
add new heatmap
actions-user Jan 15, 2025
f3f2c56
add new heatmap
actions-user Jan 15, 2025
e0b0fed
add new heatmap
actions-user Jan 16, 2025
d5fb090
add new heatmap
actions-user Jan 16, 2025
3c3c0e4
add new heatmap
actions-user Jan 16, 2025
c11fbb2
add new heatmap
actions-user Jan 16, 2025
1fdcbd6
add new heatmap
actions-user Jan 16, 2025
6947ddf
add new heatmap
actions-user Jan 16, 2025
9961246
add new heatmap
actions-user Jan 16, 2025
8ff0d79
add new heatmap
actions-user Jan 16, 2025
9345baf
add new heatmap
actions-user Jan 17, 2025
33a8f03
add new heatmap
actions-user Jan 17, 2025
7a1d1f6
add new heatmap
actions-user Jan 17, 2025
82e5b42
add new heatmap
actions-user Jan 17, 2025
608ed76
add new heatmap
actions-user Jan 17, 2025
d6baada
add new heatmap
actions-user Jan 17, 2025
b396ee4
add new heatmap
actions-user Jan 17, 2025
6f1a0d0
add new heatmap
actions-user Jan 17, 2025
6fe07cf
add new heatmap
actions-user Jan 18, 2025
4a52f54
add new heatmap
actions-user Jan 18, 2025
a9c5467
add new heatmap
actions-user Jan 18, 2025
62e0977
add new heatmap
actions-user Jan 18, 2025
60dd688
add new heatmap
actions-user Jan 18, 2025
3827a17
add new heatmap
actions-user Jan 18, 2025
8bf461d
add new heatmap
actions-user Jan 18, 2025
20ccafe
add new heatmap
actions-user Jan 18, 2025
704e91d
add new heatmap
actions-user Jan 19, 2025
90035ae
add new heatmap
actions-user Jan 19, 2025
983ac67
add new heatmap
actions-user Jan 19, 2025
8089dc3
add new heatmap
actions-user Jan 19, 2025
4e217c6
add new heatmap
actions-user Jan 19, 2025
4279367
add new heatmap
actions-user Jan 19, 2025
6aa8872
add new heatmap
actions-user Jan 19, 2025
0d16b62
add new heatmap
actions-user Jan 19, 2025
c445429
add new heatmap
actions-user Jan 20, 2025
2b5f996
add new heatmap
actions-user Jan 20, 2025
3522feb
add new heatmap
actions-user Jan 20, 2025
ebf8c6d
add new heatmap
actions-user Jan 20, 2025
ae0ff92
add new heatmap
actions-user Jan 20, 2025
8412a88
add new heatmap
actions-user Jan 20, 2025
b44f5e1
add new heatmap
actions-user Jan 20, 2025
19cce6e
add new heatmap
actions-user Jan 20, 2025
d07ade5
add new heatmap
actions-user Jan 21, 2025
d70bae8
add new heatmap
actions-user Jan 21, 2025
e770438
add new heatmap
actions-user Jan 21, 2025
d883cb1
add new heatmap
actions-user Jan 21, 2025
b954d8c
add new heatmap
actions-user Jan 21, 2025
00248dd
add new heatmap
actions-user Jan 21, 2025
4c2b908
add new heatmap
actions-user Jan 21, 2025
e025763
add new heatmap
actions-user Jan 21, 2025
47dc186
add new heatmap
actions-user Jan 22, 2025
98eb99b
add new heatmap
actions-user Jan 22, 2025
324d892
add new heatmap
actions-user Jan 22, 2025
d66b754
add new heatmap
actions-user Jan 22, 2025
0d181a6
add new heatmap
actions-user Jan 22, 2025
9fde86e
add new heatmap
actions-user Jan 22, 2025
e537da6
add new heatmap
actions-user Jan 22, 2025
0f8dcf7
add new heatmap
actions-user Jan 22, 2025
0dfebc4
add new heatmap
actions-user Jan 23, 2025
1e55bd0
add new heatmap
actions-user Jan 23, 2025
d641534
add new heatmap
actions-user Jan 23, 2025
9faec73
add new heatmap
actions-user Jan 23, 2025
557d21a
add new heatmap
actions-user Jan 23, 2025
72f9863
add new heatmap
actions-user Jan 23, 2025
c0c18da
add new heatmap
actions-user Jan 23, 2025
a3b63c0
add new heatmap
actions-user Jan 23, 2025
6052baa
add new heatmap
actions-user Jan 24, 2025
6ca5aa0
add new heatmap
actions-user Jan 24, 2025
f6ed929
add new heatmap
actions-user Jan 24, 2025
29aa530
add new heatmap
actions-user Jan 24, 2025
d3d511d
add new heatmap
actions-user Jan 24, 2025
3020bbe
add new heatmap
actions-user Jan 24, 2025
f612670
add new heatmap
actions-user Jan 24, 2025
d85ac11
add new heatmap
actions-user Jan 24, 2025
b8516aa
add new heatmap
actions-user Jan 25, 2025
e6dbd5e
add new heatmap
actions-user Jan 25, 2025
45e14c1
add new heatmap
actions-user Jan 25, 2025
f73aaf2
add new heatmap
actions-user Jan 25, 2025
dcf1065
add new heatmap
actions-user Jan 25, 2025
99953f5
add new heatmap
actions-user Jan 25, 2025
80e9fb7
add new heatmap
actions-user Jan 25, 2025
8828213
add new heatmap
actions-user Jan 25, 2025
b10545f
add new heatmap
actions-user Jan 26, 2025
8ec1c61
add new heatmap
actions-user Jan 26, 2025
be8ecf8
add new heatmap
actions-user Jan 26, 2025
641d9ef
add new heatmap
actions-user Jan 26, 2025
d3818c4
add new heatmap
actions-user Jan 26, 2025
0e941f9
add new heatmap
actions-user Jan 26, 2025
8b0d7db
add new heatmap
actions-user Jan 26, 2025
3f00ee2
add new heatmap
actions-user Jan 26, 2025
d66fe44
add new heatmap
actions-user Jan 27, 2025
d29425e
add new heatmap
actions-user Jan 27, 2025
fb7cd83
add new heatmap
actions-user Jan 27, 2025
f876977
add new heatmap
actions-user Jan 27, 2025
ace389b
add new heatmap
actions-user Jan 27, 2025
4226c11
add new heatmap
actions-user Jan 27, 2025
399440b
add new heatmap
actions-user Jan 27, 2025
8d015d9
add new heatmap
actions-user Jan 27, 2025
3566a2e
add new heatmap
actions-user Jan 28, 2025
f0ece40
add new heatmap
actions-user Jan 28, 2025
250e17d
add new heatmap
actions-user Jan 28, 2025
b8e6533
add new heatmap
actions-user Jan 28, 2025
e9c8fe6
add new heatmap
actions-user Jan 28, 2025
38a9377
add new heatmap
actions-user Jan 28, 2025
255affa
add new heatmap
actions-user Jan 28, 2025
f32040d
add new heatmap
actions-user Jan 28, 2025
39010ca
add new heatmap
actions-user Jan 29, 2025
4a23f47
add new heatmap
actions-user Jan 29, 2025
0d84fa3
add new heatmap
actions-user Jan 29, 2025
49f1665
add new heatmap
actions-user Jan 29, 2025
bbdfdb0
add new heatmap
actions-user Jan 29, 2025
827a902
add new heatmap
actions-user Jan 29, 2025
7846033
add new heatmap
actions-user Jan 29, 2025
8b5ac10
add new heatmap
actions-user Jan 29, 2025
cddf100
add new heatmap
actions-user Jan 30, 2025
a2eff1e
add new heatmap
actions-user Jan 30, 2025
4d018b7
add new heatmap
actions-user Jan 30, 2025
452a6ff
add new heatmap
actions-user Jan 30, 2025
1f1ad5f
add new heatmap
actions-user Jan 30, 2025
80c2797
add new heatmap
actions-user Jan 30, 2025
cd22980
add new heatmap
actions-user Jan 30, 2025
e1694b6
add new heatmap
actions-user Jan 30, 2025
21b6207
add new heatmap
actions-user Jan 31, 2025
1eabfda
add new heatmap
actions-user Jan 31, 2025
6d7799c
add new heatmap
actions-user Jan 31, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
- package-ecosystem: "github-actions" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
4 changes: 2 additions & 2 deletions .github/workflows/read_time.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ jobs:
YEAR: ${{ vars.YEAR }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.11
- name: Install dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/weread.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ jobs:
REPOSITORY: ${{ github.repository }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.11
- name: Install dependencies
Expand Down
2 changes: 2 additions & 0 deletions OUT_FOLDER/7235c98c-3d04-47ee-81fd-3d875ab4aafe.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
## 使用

> [!IMPORTANT]
> 关注公众号获取教程,后续有更新也会第一时间在公众号里同步。
> 关注公众号回复**微信读书**获取教程,后续有更新也会第一时间在公众号里同步。

![扫码_搜索联合传播样式-标准色版](https://github.com/malinkang/weread2notion/assets/3365208/191900c6-958e-4f9b-908d-a40a54889b5e)

Expand All @@ -20,7 +20,8 @@

| 微信群 | QQ群 |
| --- | --- |
| <div align="center"><img src="https://github.com/malinkang/weread2notion/assets/3365208/e28d1fb8-a861-47e1-b5e8-b25f17a6a285" ></div> | <div align="center"><img src="https://images.malinkang.com/2024/04/b225b17d60670e4a6ff3459bbde80d28.jpg" width="50%"></div> |
| <div align="center"><img src="https://github.com/malinkang/weread2notion/assets/3365208/f230a01f-bc1a-48dc-95f6-ac7ad0d1ecc5" ></div> | <div align="center"><img src="https://images.malinkang.com/2024/04/b225b17d60670e4a6ff3459bbde80d28.jpg" width="50%"></div> |



## 捐赠
Expand Down
3 changes: 3 additions & 0 deletions scripts/notion_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ class NotionHelper:
heatmap_block_id = None
property_dict = {}


def __init__(self):
self.client = Client(auth=os.getenv("NOTION_TOKEN"), log_level=logging.ERROR)
self.__cache = {}
Expand All @@ -51,6 +52,7 @@ def __init__(self):
self.database_name_dict.get("BOOK_DATABASE_NAME")
)
r = self.client.databases.retrieve(database_id=self.book_database_id)

for key, value in r.get("properties").items():
self.property_dict[key] = value
self.review_database_id = self.get_relation_database_id(
Expand Down Expand Up @@ -97,6 +99,7 @@ def __init__(self):
if self.read_database_id is None:
self.create_database()


def get_relation_database_id(self, property):
return property.get("relation").get("database_id")

Expand Down