Commit Graph

58 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
fa8bf49420 use all file types for checkout 2022-01-04 04:07:36 +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
TicClick
dd0bc84bff fix CI script invokation 2022-01-04 00:20:56 +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
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
Ayane Satomi
f5ba11bee4 Do not make force-pushes default
Signed-off-by: GitHub <noreply@github.com>
2021-03-17 17:07:30 +00:00
Ayane Satomi
680a5a986c rename backup branch variable
Co-authored-by: Gagah Pangeran Rosfatiputra <git@gagahpangeran.com>
2021-03-18 01:00:04 +08:00
Ayane Satomi
9686f1e215 Use github.actor noreply
Co-authored-by: Gagah Pangeran Rosfatiputra <git@gagahpangeran.com>
2021-03-18 00:58:53 +08:00
Ayane Satomi
b741eec69f Finalize workflow
Signed-off-by: GitHub <noreply@github.com>
2021-03-17 13:23:42 +00:00
Ayane Satomi
293ffaf9cc Add initial version of manual sync github action
Signed-off-by: GitHub <noreply@github.com>
2021-03-17 12:20:41 +00:00
Bartłomiej Dach
ab4bcce92c Fix CI failures on modifying files with quotes in name 2020-08-29 14:54:52 +02:00
Dean Herbert
718fa281f2 Run CI workflow on push / merge into master 2020-08-22 10:42:06 +09:00
Dean Herbert
96a223acd1 Rename action 2020-07-02 13:32:23 +09:00
Dean Herbert
2dfccdc7a2 Use yamllint to lint yaml files for issues 2020-07-02 13:25:57 +09:00
clayton
21da1c592d Safe quotes 2020-06-25 13:16:34 -07:00
clayton
a12096d382 Exclude renames via option instead of regex 2020-06-25 13:14:45 -07:00
Bartłomiej Dach
1325a080f2 Only match the necessary parts 2020-06-25 21:46:30 +02:00