Commit Graph

97 Commits

Author SHA1 Message Date
Walavouchey
82ed6a8b32 make style a bit more consistent 2022-03-27 18:26:29 +02:00
TicClick
73bed12334 check article names using regexp rather than globs 2022-03-27 17:21:56 +02:00
TicClick
07b5838edf fix: don't skip pt-br and zh-tw in freshness check 2022-03-26 21:18:33 +01:00
Walavouchey
4de2f7ee5c make wikilink check skippable 2022-03-01 21:16:30 +01:00
TicClick
c90dfa3ee5 use more narrow glob expression for article file names 2022-01-06 14:44:00 +01:00
Walavouchey
437caa2ff8 make quotation usage slightly more consistent 2022-01-04 04:14:53 +01:00
Walavouchey
fa8bf49420 use all file types for checkout 2022-01-04 04:07:36 +01:00
TicClick
4d9306fa3d fix help/notice wordings
Co-authored-by: Walavouchey <36758269+Walavouchey@users.noreply.github.com>
2022-01-04 02:48:13 +01:00
TicClick
95fc1d0123 allow empty article list as an argument 2022-01-04 02:37:51 +01:00
Walavouchey
fe4f6923d0 handle case when there's nothing to check
Co-authored-by: TicClick <ya@ticclick.ch>
2022-01-04 02:26:36 +01:00
Walavouchey
8245234be6 drop irc: from external link exclusion
Co-authored-by: TicClick <ya@ticclick.ch>
2022-01-04 02:16:23 +01:00
Walavouchey
9152fab339 explain link properties and change spelling 2022-01-04 02:05:07 +01:00
TicClick
e7c6bf7d02 fix typing annotation; remove unused properties 2022-01-04 00:57:54 +01:00
TicClick
dd0bc84bff fix CI script invokation 2022-01-04 00:20:56 +01:00
TicClick
ee7e079887 deduplicate link parts 2022-01-04 00:15:58 +01:00
TicClick
a92156d007 use typed variables; add some comments 2022-01-03 23:03:04 +01:00
TicClick
94f19c1d1a use argparse for cli args; don't mutate global variables 2022-01-03 22:41:53 +01:00
Walavouchey
29f4b7a7c8 look for broken wikilinks in changed files 2022-01-03 18:11:44 +01:00
Dean Herbert
c43ad53e96 Merge branch 'master' into extend-yamllint-ci 2021-12-31 12:50:46 +09:00
TicClick
5f246f4288 run yamllint for regular articles/newsposts 2021-12-30 23:20:29 +01:00
TicClick
77a409be9f fix yaml style errors (trailing spaces, wrong indentation) 2021-12-30 22:52:09 +01:00
TicClick
4ae7ce163b prevent Bash from throwing out null bytes when assigning variables 2021-12-16 18:58:20 +01:00
TicClick
f21ebd8219 don't fail on unescaped quotes in the outdated marker check 2021-12-03 16:02:14 +01:00
TicClick
f3fee39cfc reference the front matter explanation 2021-11-23 18:31:22 +01:00
TicClick
c40684b09a clarify how the check can be ignored 2021-11-23 18:28:28 +01:00
TicClick
5f491d0f3c add CI step for checking if translations are marked as outdated
add CI step for checking if translations are marked as outdated
2021-11-23 04:47:21 +01:00
TicClick
8fc8f494ea address clayton's comments 2021-10-31 00:57:49 +02:00
TicClick
069c27d8bf simplify the pr template 2021-10-18 23:19:22 +02:00
TicClick
8c4448d509 Apply suggestions from code review
Co-authored-by: Walavouchey <36758269+Walavouchey@users.noreply.github.com>
2021-10-16 18:35:13 +02:00
TicClick
fb796439a9 add the pull request template 2021-10-15 20:33:30 +02:00
Dean Herbert
641201c9e4 Remove dependency audit step 2021-05-11 21:35:11 +09:00
Ayane Satomi
eefd707783 Make boolean matching case-insensitive
Signed-off-by: Ayane Satomi <chinodesuuu@gmail.com>
2021-04-23 12:32:18 +00:00
Ayane Satomi
1aabbc2886 Merge branch 'codespace-af1c' of https://github.com/sr229/osu-wiki into pr/sr229/5092 2021-03-22 13:25:03 +00:00
Ayane Satomi
010aa40c9a Ensure clone repo with blobs
Signed-off-by: GitHub <noreply@github.com>
2021-03-22 13:24:49 +00:00
TicClick
7acbbf6079 shorten the sync explanation for ease of reading 2021-03-21 23:09:15 +01:00
Ayane Satomi
79da52caee use eqeq instead for ne operators
Signed-off-by: GitHub <noreply@github.com>
2021-03-19 18:58:23 +00:00
Ayane Satomi
5055d0ea0e do not use a custom commit message
While it looked fancy and neat, it doesn't really serve a purpose

Signed-off-by: GitHub <noreply@github.com>
2021-03-19 18:54:24 +00:00
Ayane Satomi
9cd7ed3b6f remove FIXME comment in git config step
Signed-off-by: GitHub <noreply@github.com>
2021-03-19 16:22:57 +00:00
Ayane Satomi
3c2e873783 disable debug and add warning for checkout step
Signed-off-by: GitHub <noreply@github.com>
2021-03-19 16:19:56 +00:00
Ayane Satomi
8bd0728266 Fix sane defaults not doing what they should
Signed-off-by: GitHub <noreply@github.com>
2021-03-19 16:16:07 +00:00
Ayane Satomi
820d2c8b34 fix bash conditionals
Signed-off-by: GitHub <noreply@github.com>
2021-03-19 15:00:19 +00:00
Ayane Satomi
d8a5c1c18e fix possible syntax error in script
Signed-off-by: GitHub <noreply@github.com>
2021-03-19 14:48:45 +00:00
Ayane Satomi
1eb3fa4749 add backup feature
This is to allow very paranoid users who has trust issues with our git workflow to revert to LKGR if things don't work out

Signed-off-by: GitHub <noreply@github.com>
2021-03-19 14:38:57 +00:00
Ayane Satomi
08203d50e7 pull changes in instead of rebasing them in
Signed-off-by: GitHub <noreply@github.com>
2021-03-18 17:06:59 +00:00
Ayane Satomi
c9d156c4d7 Make spacing consistent
Signed-off-by: GitHub <noreply@github.com>
2021-03-18 15:19:32 +00:00
Ayane Satomi
4c67070491 Remove experimental remark comment since this is p much done
Signed-off-by: GitHub <noreply@github.com>
2021-03-18 15:17:15 +00:00
Ayane Satomi
19f14e4535 change legacy variable definition name to new one
Signed-off-by: GitHub <noreply@github.com>
2021-03-18 02:45:40 +00:00
Ayane Satomi
ad4cea6a17 Update .github/workflows/manual-sync.yml
Co-authored-by: Gagah Pangeran Rosfatiputra <git@gagahpangeran.com>
2021-03-18 10:34:18 +08:00
Ayane Satomi
503dd3d1bb Remove sleep timers
Signed-off-by: GitHub <noreply@github.com>
2021-03-17 17:19:18 +00:00
Ayane Satomi
4213dd394a Merge branch 'codespace-af1c' of https://github.com/sr229/osu-wiki into codespace-af1c 2021-03-17 17:07:36 +00:00