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,507 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2507 commits
Select commit Hold shift + click to select a range
61e7836
add new heatmap
actions-user Feb 9, 2025
e5f8658
add new heatmap
actions-user Feb 10, 2025
21bab5c
add new heatmap
actions-user Feb 10, 2025
38c183a
add new heatmap
actions-user Feb 10, 2025
4e1c44d
add new heatmap
actions-user Feb 10, 2025
d418e9d
add new heatmap
actions-user Feb 10, 2025
ac7f241
add new heatmap
actions-user Feb 10, 2025
a5d3e3c
add new heatmap
actions-user Feb 10, 2025
099a73a
add new heatmap
actions-user Feb 10, 2025
229b229
add new heatmap
actions-user Feb 11, 2025
974e951
add new heatmap
actions-user Feb 11, 2025
06c50f8
add new heatmap
actions-user Feb 11, 2025
b44e032
add new heatmap
actions-user Feb 11, 2025
78ac582
add new heatmap
actions-user Feb 11, 2025
fe2d05c
add new heatmap
actions-user Feb 11, 2025
676bfda
add new heatmap
actions-user Feb 11, 2025
264b210
add new heatmap
actions-user Feb 11, 2025
205cc3e
add new heatmap
actions-user Feb 12, 2025
8be7f1d
add new heatmap
actions-user Feb 12, 2025
b56dde4
add new heatmap
actions-user Feb 12, 2025
d2502df
add new heatmap
actions-user Feb 12, 2025
9f257f8
add new heatmap
actions-user Feb 12, 2025
e3262f7
add new heatmap
actions-user Feb 12, 2025
d8bf9ea
add new heatmap
actions-user Feb 12, 2025
6c70b74
add new heatmap
actions-user Feb 12, 2025
a490ba5
add new heatmap
actions-user Feb 13, 2025
a42b63b
add new heatmap
actions-user Feb 13, 2025
62d9f33
add new heatmap
actions-user Feb 13, 2025
f56f9e1
add new heatmap
actions-user Feb 13, 2025
d3b785d
add new heatmap
actions-user Feb 13, 2025
0de6f9f
add new heatmap
actions-user Feb 13, 2025
9c8d36e
add new heatmap
actions-user Feb 13, 2025
e83f773
add new heatmap
actions-user Feb 13, 2025
4879186
add new heatmap
actions-user Feb 14, 2025
a9aede9
add new heatmap
actions-user Feb 14, 2025
9d43262
add new heatmap
actions-user Feb 14, 2025
ded3618
add new heatmap
actions-user Feb 14, 2025
63911dc
add new heatmap
actions-user Feb 14, 2025
9b47a77
add new heatmap
actions-user Feb 14, 2025
88dc688
add new heatmap
actions-user Feb 14, 2025
1cbd675
add new heatmap
actions-user Feb 14, 2025
0069980
add new heatmap
actions-user Feb 15, 2025
33c0690
add new heatmap
actions-user Feb 15, 2025
c583731
add new heatmap
actions-user Feb 15, 2025
a335ca3
add new heatmap
actions-user Feb 15, 2025
5764f06
add new heatmap
actions-user Feb 15, 2025
6b70219
add new heatmap
actions-user Feb 15, 2025
c7b70e1
add new heatmap
actions-user Feb 15, 2025
61f6bd6
add new heatmap
actions-user Feb 15, 2025
1f2ec56
add new heatmap
actions-user Feb 16, 2025
3e042d9
add new heatmap
actions-user Feb 16, 2025
89fe714
add new heatmap
actions-user Feb 16, 2025
5034d0a
add new heatmap
actions-user Feb 16, 2025
0c785c1
add new heatmap
actions-user Feb 16, 2025
9b57d2a
add new heatmap
actions-user Feb 16, 2025
053d8e2
add new heatmap
actions-user Feb 16, 2025
2135dc2
add new heatmap
actions-user Feb 16, 2025
86a6f62
add new heatmap
actions-user Feb 17, 2025
e177a3f
add new heatmap
actions-user Feb 17, 2025
9afd975
add new heatmap
actions-user Feb 17, 2025
4575c32
add new heatmap
actions-user Feb 17, 2025
d0ae738
add new heatmap
actions-user Feb 17, 2025
044a218
add new heatmap
actions-user Feb 17, 2025
2e4046b
add new heatmap
actions-user Feb 17, 2025
2ee13b1
add new heatmap
actions-user Feb 17, 2025
d078ace
add new heatmap
actions-user Feb 18, 2025
191277e
add new heatmap
actions-user Feb 18, 2025
be2c093
add new heatmap
actions-user Feb 18, 2025
07ebb6e
add new heatmap
actions-user Feb 18, 2025
5f1ffb9
add new heatmap
actions-user Feb 18, 2025
9570f1d
add new heatmap
actions-user Feb 18, 2025
91ddd47
add new heatmap
actions-user Feb 18, 2025
c63a612
add new heatmap
actions-user Feb 18, 2025
5c05c8f
add new heatmap
actions-user Feb 19, 2025
8ab912c
add new heatmap
actions-user Feb 19, 2025
067e3d9
add new heatmap
actions-user Feb 19, 2025
d8fa71b
add new heatmap
actions-user Feb 19, 2025
cc160aa
add new heatmap
actions-user Feb 19, 2025
fbed119
add new heatmap
actions-user Feb 19, 2025
f91315b
add new heatmap
actions-user Feb 19, 2025
80c9f56
add new heatmap
actions-user Feb 19, 2025
9c902b7
add new heatmap
actions-user Feb 20, 2025
3cb121c
add new heatmap
actions-user Feb 20, 2025
13b28eb
add new heatmap
actions-user Feb 20, 2025
98088d4
add new heatmap
actions-user Feb 20, 2025
46f65cf
add new heatmap
actions-user Feb 20, 2025
9cdc635
add new heatmap
actions-user Feb 20, 2025
7a67daf
add new heatmap
actions-user Feb 20, 2025
3f84b73
add new heatmap
actions-user Feb 20, 2025
1172fc4
add new heatmap
actions-user Feb 21, 2025
7bb5d62
add new heatmap
actions-user Feb 21, 2025
05681b9
add new heatmap
actions-user Feb 21, 2025
57229fa
add new heatmap
actions-user Feb 21, 2025
ca05ebc
add new heatmap
actions-user Feb 21, 2025
eab9f1f
add new heatmap
actions-user Feb 21, 2025
a6330bd
add new heatmap
actions-user Feb 21, 2025
4310656
add new heatmap
actions-user Feb 21, 2025
5188c6c
add new heatmap
actions-user Feb 22, 2025
3791703
add new heatmap
actions-user Feb 22, 2025
b071f07
add new heatmap
actions-user Feb 22, 2025
3abd02b
add new heatmap
actions-user Feb 22, 2025
ce63cac
add new heatmap
actions-user Feb 22, 2025
c3b2628
add new heatmap
actions-user Feb 22, 2025
01b9e89
add new heatmap
actions-user Feb 22, 2025
232e015
add new heatmap
actions-user Feb 22, 2025
3cb0a1e
add new heatmap
actions-user Feb 23, 2025
b2729bc
add new heatmap
actions-user Feb 23, 2025
c6bfc40
add new heatmap
actions-user Feb 23, 2025
1af8fb8
add new heatmap
actions-user Feb 23, 2025
ce01906
add new heatmap
actions-user Feb 23, 2025
ff2a579
add new heatmap
actions-user Feb 23, 2025
e5b62ac
add new heatmap
actions-user Feb 23, 2025
71f948c
add new heatmap
actions-user Feb 23, 2025
74e2ffe
add new heatmap
actions-user Feb 24, 2025
ae03c16
add new heatmap
actions-user Feb 24, 2025
fe46e55
add new heatmap
actions-user Feb 24, 2025
12cfa9c
add new heatmap
actions-user Feb 24, 2025
8ff3eff
add new heatmap
actions-user Feb 24, 2025
c33bb86
add new heatmap
actions-user Feb 24, 2025
04882ee
add new heatmap
actions-user Feb 24, 2025
969f706
add new heatmap
actions-user Feb 24, 2025
4d643c3
add new heatmap
actions-user Feb 25, 2025
49a5164
add new heatmap
actions-user Feb 25, 2025
f473db6
add new heatmap
actions-user Feb 25, 2025
606a0b6
add new heatmap
actions-user Feb 25, 2025
9b7f2a9
add new heatmap
actions-user Feb 25, 2025
74fe87d
add new heatmap
actions-user Feb 25, 2025
1529dc0
add new heatmap
actions-user Feb 25, 2025
33c9b6a
add new heatmap
actions-user Feb 25, 2025
757a349
add new heatmap
actions-user Feb 26, 2025
a748306
add new heatmap
actions-user Feb 26, 2025
b4ada6b
add new heatmap
actions-user Feb 26, 2025
cddc72f
add new heatmap
actions-user Feb 26, 2025
0ff62b8
add new heatmap
actions-user Feb 26, 2025
6f78147
add new heatmap
actions-user Feb 26, 2025
4af51f2
add new heatmap
actions-user Feb 26, 2025
06a2f09
add new heatmap
actions-user Feb 26, 2025
021549a
add new heatmap
actions-user Feb 27, 2025
81e2e6d
add new heatmap
actions-user Feb 27, 2025
abdc0fd
add new heatmap
actions-user Feb 27, 2025
ff9821b
add new heatmap
actions-user Feb 27, 2025
d31b7d3
add new heatmap
actions-user Feb 27, 2025
6563d37
add new heatmap
actions-user Feb 27, 2025
a873607
add new heatmap
actions-user Feb 27, 2025
2aeb23b
add new heatmap
actions-user Feb 27, 2025
59a8da0
add new heatmap
actions-user Feb 28, 2025
26103fd
add new heatmap
actions-user Feb 28, 2025
fe87cdc
add new heatmap
actions-user Feb 28, 2025
915e1fe
add new heatmap
actions-user Feb 28, 2025
1eddef3
add new heatmap
actions-user Feb 28, 2025
91a9437
add new heatmap
actions-user Feb 28, 2025
b3898ab
add new heatmap
actions-user Feb 28, 2025
be352b0
add new heatmap
actions-user Feb 28, 2025
1dc2dfb
add new heatmap
actions-user Mar 1, 2025
a5f1731
add new heatmap
actions-user Mar 1, 2025
291a71d
add new heatmap
actions-user Mar 1, 2025
ad4803e
add new heatmap
actions-user Mar 1, 2025
e2fac86
add new heatmap
actions-user Mar 1, 2025
e995b1e
add new heatmap
actions-user Mar 1, 2025
cdfa160
add new heatmap
actions-user Mar 1, 2025
c72e188
add new heatmap
actions-user Mar 1, 2025
324f225
add new heatmap
actions-user Mar 2, 2025
17a28fe
add new heatmap
actions-user Mar 2, 2025
0eed616
add new heatmap
actions-user Mar 2, 2025
ac81804
add new heatmap
actions-user Mar 2, 2025
32d47a7
add new heatmap
actions-user Mar 2, 2025
194393e
add new heatmap
actions-user Mar 2, 2025
baffb21
add new heatmap
actions-user Mar 2, 2025
78237bd
add new heatmap
actions-user Mar 2, 2025
2f59ef6
add new heatmap
actions-user Mar 3, 2025
4c48b0c
add new heatmap
actions-user Mar 3, 2025
dd133eb
add new heatmap
actions-user Mar 3, 2025
c984c51
add new heatmap
actions-user Mar 3, 2025
617fae5
add new heatmap
actions-user Mar 3, 2025
73799af
add new heatmap
actions-user Mar 3, 2025
81ac996
add new heatmap
actions-user Mar 3, 2025
73d8f86
add new heatmap
actions-user Mar 3, 2025
0456cb4
add new heatmap
actions-user Mar 4, 2025
a40b682
add new heatmap
actions-user Mar 4, 2025
8f8cc06
add new heatmap
actions-user Mar 4, 2025
1ccb80a
add new heatmap
actions-user Mar 4, 2025
5a98131
add new heatmap
actions-user Mar 4, 2025
49a9852
add new heatmap
actions-user Mar 4, 2025
baebbfc
add new heatmap
actions-user Mar 4, 2025
06bcc24
add new heatmap
actions-user Mar 4, 2025
2e71207
add new heatmap
actions-user Mar 5, 2025
99415de
add new heatmap
actions-user Mar 5, 2025
5ce00a3
add new heatmap
actions-user Mar 5, 2025
65a3293
add new heatmap
actions-user Mar 5, 2025
e21e94e
add new heatmap
actions-user Mar 5, 2025
28d9439
add new heatmap
actions-user Mar 5, 2025
b5f9f81
add new heatmap
actions-user Mar 5, 2025
9c14d20
add new heatmap
actions-user Mar 5, 2025
9a811d4
add new heatmap
actions-user Mar 6, 2025
92660e0
add new heatmap
actions-user Mar 6, 2025
a339406
add new heatmap
actions-user Mar 6, 2025
657a688
add new heatmap
actions-user Mar 6, 2025
ab461e1
add new heatmap
actions-user Mar 6, 2025
e1cf8b3
add new heatmap
actions-user Mar 6, 2025
d0ba28a
add new heatmap
actions-user Mar 6, 2025
0925021
add new heatmap
actions-user Mar 6, 2025
bbe8709
add new heatmap
actions-user Mar 7, 2025
3323b51
add new heatmap
actions-user Mar 7, 2025
7cd1836
add new heatmap
actions-user Mar 7, 2025
e8d95c2
add new heatmap
actions-user Mar 7, 2025
bf53225
add new heatmap
actions-user Mar 7, 2025
c54015f
add new heatmap
actions-user Mar 7, 2025
670f2d6
add new heatmap
actions-user Mar 7, 2025
673538f
add new heatmap
actions-user Mar 7, 2025
72f749a
add new heatmap
actions-user Mar 8, 2025
f0c702e
add new heatmap
actions-user Mar 8, 2025
08175f0
add new heatmap
actions-user Mar 8, 2025
fd9aef3
add new heatmap
actions-user Mar 8, 2025
7ee1a43
add new heatmap
actions-user Mar 8, 2025
042175f
add new heatmap
actions-user Mar 8, 2025
da6c68e
add new heatmap
actions-user Mar 8, 2025
76c59bf
add new heatmap
actions-user Mar 8, 2025
66de939
add new heatmap
actions-user Mar 9, 2025
c990308
add new heatmap
actions-user Mar 9, 2025
7f84bd8
add new heatmap
actions-user Mar 9, 2025
29233c2
add new heatmap
actions-user Mar 9, 2025
aa6fafd
add new heatmap
actions-user Mar 9, 2025
b0b6951
add new heatmap
actions-user Mar 9, 2025
242dbbb
add new heatmap
actions-user Mar 9, 2025
e37ae90
add new heatmap
actions-user Mar 9, 2025
5140018
add new heatmap
actions-user Mar 10, 2025
400e91f
add new heatmap
actions-user Mar 10, 2025
d7729fc
add new heatmap
actions-user Mar 10, 2025
d4c314f
add new heatmap
actions-user Mar 10, 2025
faf5eb4
add new heatmap
actions-user Mar 10, 2025
6d60076
add new heatmap
actions-user Mar 10, 2025
94e50eb
add new heatmap
actions-user Mar 10, 2025
a956b76
add new heatmap
actions-user Mar 10, 2025
2a4b404
add new heatmap
actions-user Mar 11, 2025
9fc7fc0
add new heatmap
actions-user Mar 11, 2025
43316de
add new heatmap
actions-user Mar 11, 2025
532dc7a
add new heatmap
actions-user Mar 11, 2025
0baae79
add new heatmap
actions-user Mar 11, 2025
b65945d
add new heatmap
actions-user Mar 11, 2025
716b391
add new heatmap
actions-user Mar 11, 2025
144e61c
add new heatmap
actions-user Mar 11, 2025
f6b3e6d
add new heatmap
actions-user Mar 12, 2025
be750d7
add new heatmap
actions-user Mar 12, 2025
01f846e
add new heatmap
actions-user Mar 12, 2025
e4dd1ae
add new heatmap
actions-user Mar 12, 2025
8857ec6
add new heatmap
actions-user Mar 12, 2025
ab5e408
add new heatmap
actions-user Mar 12, 2025
8e5a7d9
add new heatmap
actions-user Mar 12, 2025
fed0916
add new heatmap
actions-user Mar 12, 2025
d433c18
add new heatmap
actions-user Mar 13, 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/c1b39dfc-c09f-4b07-a5d8-b5e5a0f20162.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