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

[pull] master from Teahouse-Studios:master #164

Open
wants to merge 938 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
938 commits
Select commit Hold shift + click to select a range
5bfabcc
Create module_manifest.json
DoroWolf Feb 25, 2023
9fdf825
Add sp messages
Dianliang233 Feb 25, 2023
d535406
Merge branch 'Teahouse-Studios:master' into master
Don-Trueno Feb 26, 2023
3d91a9e
Delete modules/brush_to_string_pickaxe directory
Don-Trueno Feb 26, 2023
c6e60bd
sus_stew
Don-Trueno Feb 26, 2023
313f805
Add suspicious things
Don-Trueno Feb 26, 2023
e9f1904
Fix module_manifest
Dianliang233 Mar 10, 2023
808c334
Add sus_stuff to choice module default/netease
Dianliang233 Mar 10, 2023
ebcc1df
Merge pull request #277 from Don-Trueno/master
Dianliang233 Mar 10, 2023
00af41c
update cron
XxLittleCxX Mar 10, 2023
054b8dd
Update priority.txt
DoroWolf Mar 10, 2023
199bba4
space
DoroWolf Mar 10, 2023
2a6c92d
budding amethyst is SUS
lakejason0 Mar 23, 2023
c8af56a
Update to 23w12a (part 1)
lakejason0 Mar 23, 2023
8fe2860
Update to 23w12a (part 2)
lakejason0 Mar 23, 2023
dc88c11
Update to 23w12a (part 3)
lakejason0 Mar 23, 2023
0e6f424
Update to 23w12a (part
lakejason0 Mar 23, 2023
e6b7010
Update to 23w12a (part 5)
lakejason0 Mar 23, 2023
ba00abd
Update add.json
lakejason0 Mar 23, 2023
b2c4a9e
DETERMINATION
lakejason0 Mar 23, 2023
666198f
add minecraft_cjk_character_supplement (#278)
Nickid2018 Mar 23, 2023
635808f
Add files via upload
yzy32767 Mar 23, 2023
565cb63
Add character 2c58b
yzy32767 Mar 23, 2023
b8e22cd
More characters
lakejason0 Mar 23, 2023
8b60fab
Add more
yzy32767 Mar 23, 2023
06896da
Fix surrogate pairs
lakejason0 Mar 23, 2023
ec8b898
Update default.json
yzy32767 Mar 23, 2023
c048bf2
Merge branch 'master' into master
lakejason0 Mar 23, 2023
197b1cc
Merge pull request #279 from yzy32767/master
lakejason0 Mar 23, 2023
12a0fc6
Add author
lakejason0 Mar 23, 2023
8c24423
Make `minecraft_cjk_character_supplement` as default
lakejason0 Mar 23, 2023
ef9a952
Use same glyph for both biang
lakejason0 Mar 23, 2023
0d15b0c
:ambulance: Fix
lakejason0 Mar 23, 2023
6c32629
Elements
lakejason0 Mar 23, 2023
8249707
:ambulance: fix
lakejason0 Mar 23, 2023
0db8382
Repaint the whole 9fxx
lakejason0 Mar 24, 2023
1e38322
Force displaying glyphs without modifying the binary size file
lakejason0 Mar 24, 2023
91c223a
Merge module
lakejason0 Mar 24, 2023
efa203b
Remove unnecessary providers
lakejason0 Mar 24, 2023
ed20d36
Add Ext-A missing glyphs
lakejason0 Mar 24, 2023
d6ec8f7
Add compatibility characters
lakejason0 Mar 24, 2023
9f645b8
Add characters appeared in Noto Sans CJK CN ExtB
lakejason0 Mar 24, 2023
3d327fd
Add chr. in Noto Sans CN ExtF ExtG suppl.
lakejason0 Mar 25, 2023
c48648e
sort strings
DoroWolf Mar 25, 2023
66c5b58
add sus gravel
DoroWolf Mar 25, 2023
2e3e080
Update default.json
yzy32767 Mar 25, 2023
f35a084
Add files via upload
yzy32767 Mar 25, 2023
9f5d066
Merge pull request #1 from yzy32767/patch-1
yzy32767 Mar 25, 2023
b2a4c5d
Merge pull request #282 from yzy32767/master
lakejason0 Mar 25, 2023
fdc8b50
Update sus_stuff
DoroWolf Mar 25, 2023
cf6e82b
Add chr. in Noto Sans CN ExtC
lakejason0 Mar 25, 2023
76bed78
Update (#283)
yzy32767 Mar 25, 2023
901f014
Add chr. in Noto Sans CN ExtE (as of 2c317)
lakejason0 Mar 26, 2023
4ce860f
Add chr. in Noto Sans CN ExtE (as of 2c91d)
lakejason0 Mar 26, 2023
f6bb27a
Add chr. in Noto Sans CN ExtE (as of 2cb7c)
lakejason0 Mar 26, 2023
3c00961
Add chr. in Noto Sans CN ExtE (as of 2cbce)
lakejason0 Mar 26, 2023
bc00d57
Add chr. in Noto Sans CN ExtE (done)
lakejason0 Mar 26, 2023
716159e
Update README.md
lakejason0 Mar 27, 2023
bab4635
梗体,但是要译名标准化
lakejason0 Mar 27, 2023
c0e2534
Merge branch 'master' of https://github.com/Teahouse-Studios/mcwzh-me…
lakejason0 Mar 27, 2023
d8247c4
Fix wrong mapping & add missing chr. in Noto Sans CN ExtD
lakejason0 Mar 28, 2023
128439e
Fix wrong glyph of U+2C7FD
lakejason0 Mar 28, 2023
aee49d7
那画确实是随地大小变
lakejason0 Mar 28, 2023
6fa2fa5
进步 -> 进取之心
Lxazl5770 Mar 29, 2023
69b1db4
补充遗漏+更改
Lxazl5770 Mar 29, 2023
e75fe73
FIx test_ci.yml
Dianliang233 Mar 29, 2023
936b901
AF2023 (#284)
DoroWolf Mar 31, 2023
bb619b4
typesetting
DoroWolf Mar 31, 2023
1bc11d0
typo
DoroWolf Mar 31, 2023
f71256c
revert "AF2023"
DoroWolf Apr 1, 2023
dc118d8
23w13a&b
DoroWolf Apr 1, 2023
219fae1
update lock
XxLittleCxX Apr 2, 2023
bca7a4d
23w13a&b
DoroWolf Apr 2, 2023
ed575de
add voting.png
DoroWolf Apr 2, 2023
5714cf4
Update module_manifest.json
Don-Trueno Apr 2, 2023
8b95113
Update module_manifest.json
Don-Trueno Apr 2, 2023
517233b
Update module_manifest.json
Don-Trueno Apr 2, 2023
80c62cb
Update news.json
DoroWolf Apr 2, 2023
6a2dbbe
Add files via upload
Don-Trueno Apr 2, 2023
410829b
Merge branch 'Teahouse-Studios:master' into master
Don-Trueno Apr 2, 2023
fb17dee
Update module_manifest.json
Don-Trueno Apr 2, 2023
38a24b6
村民 -> 奸商
DoroWolf Apr 2, 2023
5717f81
translated
DoroWolf Apr 2, 2023
7590a5b
Update
DoroWolf Apr 2, 2023
6a7f176
fix
DoroWolf Apr 2, 2023
4164548
Update splashes.txt
zh9c418 Apr 7, 2023
c998d1f
Update
DoroWolf Apr 9, 2023
f4e0888
translated
DoroWolf Apr 12, 2023
a4e7b11
Update
DoroWolf Apr 12, 2023
8a2f67d
Update add.json
DoroWolf Apr 13, 2023
c834e53
Update add.json
DoroWolf Apr 13, 2023
2ee260f
revert 进步 -> 进取之心
DoroWolf Apr 14, 2023
f7443ad
Update zh_meme.json
DoroWolf Apr 14, 2023
adbef37
23w16a
DoroWolf Apr 22, 2023
6f20acc
16a
DoroWolf Apr 22, 2023
6dad9f5
Update splashes.txt
DoroWolf Apr 23, 2023
e4591c5
Update add.json
DoroWolf Apr 24, 2023
fed4f53
Update add.json
DoroWolf Apr 24, 2023
399f681
Update add.json
DoroWolf Apr 24, 2023
8df1909
sort
DoroWolf Apr 24, 2023
10b1724
Merge branch 'Teahouse-Studios:master' into master
Don-Trueno Apr 25, 2023
8d2e0e7
Update module_manifest.json
Don-Trueno Apr 25, 2023
9b9877f
23w17a
DoroWolf May 3, 2023
87008b8
Update credits.json
DoroWolf May 3, 2023
2483975
Update credits
DoroWolf May 3, 2023
2fdf3a3
add mclangcn
DoroWolf May 3, 2023
954f941
sort
DoroWolf May 3, 2023
e116bde
add modules
DoroWolf May 3, 2023
cff5db6
添加模块作者;添加冲突说明;添加饰纹陶罐纹理 (#285)
Don-Trueno May 3, 2023
7886daa
Update credits
DoroWolf May 3, 2023
bff6c76
sth went wrong
DoroWolf May 3, 2023
0ac986a
23w18a
DoroWolf May 3, 2023
40564b6
Update add.json
DoroWolf May 4, 2023
7e57ce3
pre1
DoroWolf May 14, 2023
cbc0919
remove credits modules
DoroWolf May 14, 2023
58ab9f1
Update
DoroWolf May 14, 2023
81ef3f4
Fix 2ba98
lakejason0 May 15, 2023
551f735
Fix glyphs in CJK Basic (Not merged with unicode_page_xx.png)
lakejason0 May 15, 2023
58bc00d
pre4
DoroWolf May 20, 2023
96c3188
Update add.json
DoroWolf May 20, 2023
da44736
Fix
SkyEye-FAST May 20, 2023
2345a53
Add more characters fom LXGW's table
lakejason0 May 29, 2023
2c81294
Fix width of biang
lakejason0 May 29, 2023
e7e42ab
ExtB, first 32 glyphs
lakejason0 May 29, 2023
974eb76
Update ExtB
lakejason0 May 29, 2023
1725160
ExtB to ExtF
lakejason0 May 29, 2023
48480b4
CRLF to LF; fix missing glyph
lakejason0 May 29, 2023
8d0f916
Adjustment
lakejason0 May 29, 2023
73bab7e
Add more glyphs from LXGW's table
lakejason0 May 30, 2023
960800f
Fix wrong JSON
lakejason0 May 30, 2023
29f6aee
Fix wrong JSON again
lakejason0 May 30, 2023
18c07af
Add more glpyhs from LXGW's table
lakejason0 May 30, 2023
2999967
Add more glyphs from LXGW's table
lakejason0 May 31, 2023
81787a7
Add more glyphs from LXGW's table + irregular chrs
lakejason0 Jun 1, 2023
31ceac5
Add more glyphs from LXGW's table
lakejason0 Jun 2, 2023
1673235
Add more glyphs from LXGW's table
lakejason0 Jun 4, 2023
431b3b5
Add more glyphs from LXGW's table
lakejason0 Jun 5, 2023
fe0520a
Add more glyphs from LXGW's table
lakejason0 Jun 5, 2023
d3b9e06
Add more glyphs from LXGW's table
lakejason0 Jun 6, 2023
8de3180
Add more glyphs from LXGW's table
lakejason0 Jun 6, 2023
1019ef2
Update pnghex.py
lakejason0 Jun 6, 2023
7477006
Update pnghex.py
lakejason0 Jun 6, 2023
a426339
1.20 release
DoroWolf Jun 7, 2023
1d7e588
bump version
DoroWolf Jun 10, 2023
4a401ac
模组模块化 (#258)
DoroWolf Jun 10, 2023
0295ef7
Delete meme_resourcepack/assets/minecraft/lang directory
DoroWolf Jun 10, 2023
30fc0b5
Revert "模组模块化 (#258)"
Dianliang233 Jun 10, 2023
39a0e11
Merge pull request #286 from Teahouse-Studios/revert-258-mod-modular
Dianliang233 Jun 10, 2023
0979ef1
sfc
DoroWolf Jun 10, 2023
16c06e8
Update pnghex.py
lakejason0 Jun 11, 2023
779c7f1
Merge branch 'master' of https://github.com/Teahouse-Studios/mcwzh-me…
lakejason0 Jun 11, 2023
8e8fa98
add sacabambaspis_dropper
DoroWolf Jun 29, 2023
7b1a167
update priority
DoroWolf Jun 29, 2023
5da7ee7
Update module_manifest.json
DoroWolf Jun 29, 2023
05823ed
Merge branch 'Teahouse-Studios:master' into master
Don-Trueno Jul 1, 2023
d4b9163
Add more glyphs from LXGW's table
lakejason0 Jul 4, 2023
c90d211
Add glyphs from LXGW's table
lakejason0 Jul 12, 2023
eef4bab
#289
DoroWolf Jul 13, 2023
f4e4a96
Add glyphs from LXGW's table
lakejason0 Jul 13, 2023
632aac0
Add glyphs from LXGW's table
lakejason0 Jul 14, 2023
d24a9cf
Merge branch 'Teahouse-Studios:master' into master
Don-Trueno Aug 23, 2023
a129a2f
Merge branch 'master' of https://github.com/Don-Trueno/mcwzh-meme-res…
Aug 23, 2023
a12c610
Delete modules/sus_sand directory
Don-Trueno Aug 23, 2023
2ff095e
Delete modules/sus_sand directory
Don-Trueno Aug 23, 2023
c376f17
Merge pull request #1 from Don-Trueno/earth_apples
Don-Trueno Aug 23, 2023
42dd9b0
上传文件
Aug 23, 2023
8502834
Delete rabbit_stew.png
Don-Trueno Aug 23, 2023
954e157
调整文件结构
Aug 25, 2023
6697ada
Merge branch 'master' of https://github.com/Don-Trueno/mcwzh-meme-res…
Aug 25, 2023
953a4ba
新模块
Aug 25, 2023
78ea198
删除未改动的文件
Aug 25, 2023
ec86267
Merge pull request #291 from Don-Trueno/master
Dianliang233 Aug 27, 2023
d0a5a43
Merge pull request #292 from Don-Trueno/fake_omniore
Dianliang233 Sep 12, 2023
1a37f76
move to correct place
AlPha5130 Sep 15, 2023
c177bd1
New glyphs for ExtB,C,G,I and from the table
lakejason0 Oct 4, 2023
f36e2d9
Fix
Don-Trueno Oct 4, 2023
ccdc4f8
Merge pull request #295 from Don-Trueno/fake_omniore
Don-Trueno Oct 4, 2023
0c37130
来一个纹理追加的进行
Don-Trueno Oct 7, 2023
e2801c8
爆竹模块修复的进行
Don-Trueno Oct 7, 2023
e06149d
Merge pull request #297 from Don-Trueno/update
Don-Trueno Oct 8, 2023
65530b4
(2/20)
Don-Trueno Oct 13, 2023
57798ae
该删的都删了 (#298)
zh9c418 Oct 15, 2023
219952d
添加air pods
zh9c418 Oct 15, 2023
16a4eb5
梗进一步的改动
Don-Trueno Oct 17, 2023
ca3e8d6
(3/20)
Don-Trueno Oct 17, 2023
c3649b5
微调
Don-Trueno Oct 17, 2023
97c7405
恢复
Don-Trueno Oct 18, 2023
11f5c1d
移除三个模块
Don-Trueno Oct 18, 2023
76a2e0a
Merge pull request #304 from Don-Trueno/update
Don-Trueno Oct 18, 2023
8586b51
我好了
Don-Trueno Nov 3, 2023
b121454
补充初音未来相关(?)
Don-Trueno Nov 3, 2023
2e382ca
倒装
Don-Trueno Nov 3, 2023
5f36df5
更新1.20.2快照版本更新内容
Don-Trueno Nov 3, 2023
55e656f
补充
Don-Trueno Nov 3, 2023
59462fe
修复一些意外更改的内容
Don-Trueno Nov 3, 2023
4652d78
怪,还有
Don-Trueno Nov 3, 2023
a92fb12
改回洞洞方块
Don-Trueno Nov 4, 2023
7f36450
改进
Don-Trueno Nov 4, 2023
cf6eb0a
Merge branch 'Update' of github.com:Don-Trueno/mcwzh-meme-resourcepac…
Don-Trueno Nov 4, 2023
2563209
sfw相关调整
Don-Trueno Nov 4, 2023
5396832
Merge pull request #305 from Don-Trueno/Update
Don-Trueno Nov 7, 2023
5490568
Firefly8 mod update (mod version 2.0.0-beta3)
QWERTY770 Jan 20, 2024
921bd11
24w03b
Don-Trueno Jan 21, 2024
96f9fd4
Merge pull request #306 from QWERTY770/master
SkyEye-FAST Jan 31, 2024
b2691f2
Merge pull request #307 from Don-Trueno/Update
SkyEye-FAST Jan 31, 2024
4d13a83
Add almost all glyphs from LXGW's table
lakejason0 Feb 17, 2024
597ec35
Add Ext-D glyphs; adjust image format
lakejason0 Feb 17, 2024
be10c91
Font provider fix
lakejason0 Feb 17, 2024
dd4a4da
更新README.md
OKHI233 Feb 18, 2024
4a93fae
Merge pull request #308 from OKHI233/patch-1
Don-Trueno Feb 19, 2024
df22d21
Merge pull request #299 from Teahouse-Studios/air_pods
Don-Trueno Feb 19, 2024
20b41b9
24w07a
Don-Trueno Feb 19, 2024
a0f0fac
草您
Don-Trueno Feb 19, 2024
39392bd
Merge pull request #309 from Don-Trueno/main
Don-Trueno Feb 19, 2024
defeb83
Two and three em dashes
lakejason0 Mar 14, 2024
6a3d1ab
Revert "Two and three em dashes"
lakejason0 Mar 14, 2024
7b47c79
🐝
Don-Trueno Mar 19, 2024
a84a79a
大锤八十
Don-Trueno Mar 20, 2024
18a5c9c
删除测试用文件
Don-Trueno Mar 20, 2024
e18cd37
地下、锁与钥匙
Don-Trueno Mar 21, 2024
3ca0607
Merge branch 'main' of https://github.com/Don-Trueno/mcwzh-meme-resou…
Don-Trueno Mar 21, 2024
253e632
Merge branch 'main' of https://github.com/Don-Trueno/mcwzh-meme-resou…
Don-Trueno Mar 21, 2024
4ea1b48
Don-Trueno Mar 21, 2024
81f100e
Merge branch 'main' of https://github.com/Don-Trueno/mcwzh-meme-resou…
Don-Trueno Mar 21, 2024
c8494bc
upd
Don-Trueno Mar 24, 2024
c13cbef
Fix #311
Don-Trueno Mar 24, 2024
696502d
Upd
Don-Trueno Mar 24, 2024
5ea89f0
Upd
Don-Trueno Mar 24, 2024
d0d289a
Merge branch 'main' of https://github.com/Don-Trueno/mcwzh-meme-resou…
Don-Trueno Mar 24, 2024
7f463a7
Merge pull request #310 from Don-Trueno/main
Don-Trueno Mar 24, 2024
b89ce47
Correcting Name
Don-Trueno Mar 24, 2024
78e9e90
Merge pull request #312 from Don-Trueno/credit
Don-Trueno Mar 24, 2024
96726ef
脉冲啵啵烧亡了
Don-Trueno Apr 14, 2024
e3ec9e4
1.20.5
Don-Trueno May 10, 2024
5ebb2c0
fix name
Don-Trueno May 10, 2024
ccada5d
Merge pull request #313 from Don-Trueno/main
Don-Trueno Jun 30, 2024
4b1696a
24w33a
Don-Trueno Aug 18, 2024
55458a9
Dead link
lakejason0 Sep 6, 2024
5e9af98
Dead link again
lakejason0 Sep 6, 2024
2a5ca2b
Update README.md
lakejason0 Sep 6, 2024
41a6efc
Update README.md
lakejason0 Sep 6, 2024
1468090
Update pnghex
lakejason0 Sep 15, 2024
b251e63
如何在Python内嵌入JavaScript:
lakejason0 Sep 15, 2024
905be6b
Update pnghex
lakejason0 Sep 15, 2024
c5bf5ec
Update pnghex
lakejason0 Sep 15, 2024
078b169
Merge branch 'master' of https://github.com/Ironnoob73/mcwzh-meme-res…
Ironnoob73 Oct 13, 2024
a53945c
GaZhi
Ironnoob73 Oct 13, 2024
b28b14b
Revert "地名修改"
Ironnoob73 Oct 13, 2024
260033a
Merge pull request #316 from Don-Trueno/main
AlPha5130 Dec 8, 2024
1d69ec5
Merge pull request #318 from Ironnoob73/master
AlPha5130 Dec 8, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 10 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[*]
end_of_line = lf
indent_style = space
indent_size = 4

[*.js]
indent_size = 2

[*.yaml]
indent_size = 2
14 changes: 14 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# These are supported funding model platforms

github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
- https://afdian.net/@teahouse
7 changes: 3 additions & 4 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,10 @@ assignees: ''
可以的话,加上截图可以帮助解释你的问题。

**版本**

* 操作系统:[例:Windows]
* Minecraft 版本:[例:1.15.2]
* 资源包版本:[例:0.1.0]
* 环境 [例:加载了Fabric/Forge,安装了CustomSkinLoader]
* Minecraft 版本:[例:1.18.2]
* 资源包版本:[例:1.6.1]
* 环境[例:加载了Fabric/Forge,安装了CustomSkinLoader]

**其他内容**
添加更多关于漏洞的来龙去脉。
28 changes: 0 additions & 28 deletions .github/workflows/check_news.yml

This file was deleted.

41 changes: 41 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: "CodeQL"

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
schedule:
- cron: "17 4 * * 3"

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ python ]

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
queries: +security-and-quality

- name: Autobuild
uses: github/codeql-action/autobuild@v2

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: "/language:${{ matrix.language }}"
26 changes: 0 additions & 26 deletions .github/workflows/deploy.yml

This file was deleted.

39 changes: 39 additions & 0 deletions .github/workflows/deploy_dynamic_content.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Deploy Web Builder dynamic Content

on:
push:
paths:
- 'dynamic/**'
pull_request:
paths:
- 'dynamic/**'
workflow_dispatch:

jobs:
check-news:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- run: node check_news.js
- name: Create comment
uses: peter-evans/commit-comment@v1
if: ${{ failure() }}
with:
body: |
您的 `news.json` 或 `alerts.json` 格式出了些问题, 请及时修正
deploy:
environment: production
if: ${{ github.ref_name == 'master' && !failure() }}
needs:
- check-news
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: Teahouse-Studios/[email protected]
with:
KEY_ID: ${{ secrets.KEY_ID }}
KEY_SECRET: ${{ secrets.KEY_SECRET }}
BUCKET: frontend-wdljt
LOCAL_PATH: ./dynamic/
REMOTE_PREFIX: meme/dynamic/
4 changes: 2 additions & 2 deletions .github/workflows/lock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: 'Lock Threads'

on:
schedule:
- cron: '0 * * * *'
- cron: '0 0 * * *'

permissions:
issues: write
Expand All @@ -18,4 +18,4 @@ jobs:
issue-lock-inactive-days: '60'
pr-lock-inactive-days: '60'
issue-exclude-labels: 'KEEP'
pr-exclude-labels: 'KEEP'
pr-exclude-labels: 'KEEP'
70 changes: 40 additions & 30 deletions .github/workflows/test_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,33 +10,43 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi

- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics

- name: Test build
run: |
python preset_build.py

- name: Upload files built
uses: actions/upload-artifact@v2
with:
name: files-built
path: |
builds
- uses: actions/checkout@v3

- uses: pnpm/action-setup@v2
with:
version: latest

- uses: actions/setup-node@v3
with:
node-version: 18
cache: pnpm

- name: Install dependencies
run: |
pnpm install --frozen-lockfile

- name: Test build
run: |
pnpm run test-build

- name: Upload files built
uses: actions/upload-artifact@v3
with:
name: files-built
path: |
builds
deploy:
if: ${{ github.event_name == 'push' && github.ref_name == 'master' }}
needs:
- test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Update Deployment Status
run: |
curl \
-X POST \
-H "Authorization: token ${{secrets.GITHUB_TOKEN}}" \
-H "Accept: application/vnd.github.v3+json" \
https://api.github.com/repos/${{github.repository}}/deployments \
-d '{"ref":"${{ github.sha }}", "required_contexts": []}'
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@ Lib/
Scripts/
pyvenv.cfg
!/news.json
!/alerts.json
!/alerts.json
node_modules
!package.json
18 changes: 18 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"semi": false,
"useTabs": false,
"singleQuote": true,
"trailingComma": "all",
"tabWidth": 2,
"printWidth": 80,
"endOfLine": "lf",
"overrides": [
{
"files": "*.json",
"options": {
"tabWidth": 4,
"useTabs": false
}
}
]
}
Loading