Commit Graph

46 Commits

Author SHA1 Message Date
Anduin Xue
01355c1787 删除github comment 功能,因为看起来不支持。。。 2022-03-21 03:22:07 +08:00
Anduin Xue
8cd7b79bcc Better CI interaction. 2022-03-21 03:13:13 +08:00
Anduin Xue
63d9bbffa9 More messages. 2022-03-21 03:05:58 +08:00
Anduin Xue
9d8e5dbcfb Fix comment. 2022-03-21 03:04:57 +08:00
Anduin Xue
78b66aa9b7 修正comment信息。 2022-03-21 02:59:51 +08:00
Anduin Xue
10c683a746 Comment failure action. 2022-03-21 02:56:27 +08:00
Anduin Xue
27964df913 Run npm install. 2022-03-12 14:38:20 +08:00
Anduin Xue
2934ef7b5d Checkout before npm install. 2022-03-12 14:36:27 +08:00
Anduin Xue
774420ed63 New lint CI. Fix some issues. 2022-03-12 14:34:23 +08:00
Anduin Xue
574c532cea Build before lint. 2022-03-05 01:31:49 +08:00
Anduin Xue
d662d8e293 Lint before npm install. 2022-03-05 01:20:47 +08:00
Anduin Xue
d69b3f3696 更新更多贡献细节。build时必须lint通过。 2022-03-05 01:17:47 +08:00
Anduin Xue
c7ff9b4eb6 Try to manually build it with strict. 2022-03-05 00:52:54 +08:00
Anduin Xue
c34ada0459 Fix ci issue. 2022-03-05 00:45:01 +08:00
Anduin Xue
70be27b97e CI will check mkdocs build. 2022-03-05 00:43:02 +08:00
Anduin Xue
3763e79595 Also commit the generated mk file. 2022-03-05 00:36:13 +08:00
Anduin Xue
e6b0d9021e Checkout with PAT. 2022-03-05 00:29:01 +08:00
Anduin Xue
4b108ef96f Rename ci job to markdown-lint. 2022-03-05 00:06:56 +08:00
Anduin Xue
99f1739343 Rename back. 2022-03-05 00:03:12 +08:00
Anduin Xue
1df945345d Rename again. 2022-03-05 00:00:38 +08:00
Anduin Xue
9df5b25c7c Change ci yml 2022-03-04 23:58:29 +08:00
Anduin Xue
734b1dfa09 rename actions. 2022-03-04 23:49:00 +08:00
Anduin Xue
4310ef4a99 修正更多lint问题。 2022-03-04 00:53:24 +08:00
Anduin Xue
123d10b167 Real markdown lint. 2022-03-04 00:36:07 +08:00
Anduin Xue
ef18f97dc7 Use a new approach to generate cname. 2022-03-01 15:27:58 +08:00
Anduin Xue
2d0fae5963
Update build.yml 2022-03-01 15:15:52 +08:00
Anduin Xue
0bd82de343 Try to mitigate a build issue. 2022-03-01 02:16:57 +08:00
Anduin Xue
60d452a46f Better built doc. 2022-03-01 02:11:59 +08:00
Anduin Xue
4ab400f6de Refactor mkdocs publish. 2022-03-01 01:45:53 +08:00
Anduin Xue
cff130eec4 Unify steps. 2022-03-01 01:42:13 +08:00
Anduin Xue
46dbf5632d Fix a yml issue. 2022-03-01 01:36:11 +08:00
Anduin Xue
3dd9bb52de Try to auto build pages. 2022-03-01 01:33:48 +08:00
Anduin Xue
768db615ed Unify jobs as build 2022-03-01 01:04:07 +08:00
Anduin Xue
e0462b9fa3
Update textlint.yml 2022-02-28 11:58:06 +08:00
Anduin Xue
d94a2c1f87
Update readme-generate.yml 2022-02-27 13:59:48 +08:00
Xing Yahao
7d1734ad97 update ci related 2022-02-26 19:31:36 +09:00
Xing Yahao
b42904a7e8 use current branch 2022-02-26 19:11:36 +09:00
Xing Yahao
72caa1a86e fix ci 2022-02-26 19:08:05 +09:00
Xing Yahao
87d9e3c076 [ci] Create readme auto generator 2022-02-26 19:05:53 +09:00
Recolic Keghart
00000000e8 Enhance contributing guide. "& 2022-02-19 18:59:08 +08:00
Bobby Rong
0e2aa9e3f6
Merge pull request #91 from Anduin2017/Anduin2017-patch-1
Suppress MD024
2022-02-19 14:42:05 +08:00
Anduin Xue
cabfe0bda3
Update ci.yml 2022-02-19 14:32:15 +08:00
Bobby Rong
f0ba452c85
CI: add textlint
Instead of requesting changes in every pull requests and block them from merging,
we are trying to automate the process of adding missing spaces between half and
full-width characters using GitHub Actions.

The main idea is:

- Only run the workflow in the main repository (instead of other forks).
- Try to fix all files using textlint.
- Only commit files with .md extension.
- Directly push the change to the master branch.

Related projects:

- https://github.com/textlint/textlint
- https://github.com/textlint-ja/textlint-rule-preset-ja-spacing
- https://github.com/sparanoid/chinese-copywriting-guidelines

Related discussions:

- https://github.com/Anduin2017/HowToCook/pull/88
2022-02-19 14:21:45 +08:00
Anduin Xue
c417787dc0
Suppress MD024 2022-02-19 00:33:25 +08:00
Bobby Rong
8613b265d5
lint: skip MD029 and MD036
Skipping:

* MD029 Ordered list item prefix
* MD036 Emphasis used instead of a header

These rules are not fully applied to this repository yet and
further discussion is probably needed on how to deal with them.

Example markdownlint run:

* https://github.com/Anduin2017/HowToCook/runs/5226805159
2022-02-17 12:09:19 +08:00
bsdelf
adade3392f Create ci.yml 2022-01-04 12:18:41 +08:00