Commit Graph

43 Commits

Author SHA1 Message Date
Tony
905062f10c chore: fix test route in issue command 2025-02-12 01:25:55 +08:00
Tony
4fc15dcd02 chore(workflow): fix label removing
fix #16888
2025-02-06 16:00:43 +08:00
Tsuyumi
99ee9e7030 chore: escape HTML entity in route test URL display (#17592) 2024-11-15 20:19:42 +08:00
Tony
2c898cf3fd chore: block PR with empty description 2024-10-21 02:01:35 +08:00
TonyRL
fe683a11e2 chore: unwrap error detail in test route 2024-05-24 20:19:41 +00:00
Tony
847fdaba1d chore: fix route test github actions (#14923)
* chore: fix route test actions

* chore: bump unified
2024-03-23 08:19:05 +08:00
piglei
dc4eb8d02b chore: update the "routes" example in the pull request template to make it less confusing (#14415)
* Fix: a typo in the pull request template

* Enhance: when parsing routes from PR body, remove all comments.
2024-02-07 15:16:00 +08:00
Tony
6d901cb7dc style(eslint): add eslint-unicorn (#14257)
* style: add eslint-unicorn

* style: fix unicorn/no-useless-spread

* style: fix unicorn/no-useless-promise-resolve-reject

* style: fix unicorn/no-for-loop

* fix: codeql bad HTML filtering regexp

* fix: codeql incomplete replace

* fix: unicorn/no-abusive-eslint-disable

* style: fix unicorn/no-new-array

* style: fix unicorn/no-typeof-undefined

* style: fix unicorn/no-zero-fractions

* style: fix unicorn/no-empty-file

* style: fix unicorn/prefer-date-now

* revert: auto fix unicorn/prefer-switch on lib/v2/kuaidi100/utils.js

* style: fix unicorn/prefer-array-find

* style: fix unicorn/prefer-array-flat

* style: fix unicorn/prefer-array-flat-map

* style: fix unicorn/prefer-at

* style: fix unicorn/prefer-string-starts-ends-with

* style: fix unicorn/prefer-includes

* fix: codeql URL substring sanitization

* style: fix unicorn/prefer-optional-catch-binding

* style: fix unicorn/catch-error-name

* style: fix unicorn/escape-case

* style: fix unicorn/prefer-native-coercion-functions

* style: fix unicorn/prefer-regexp-test

* style: fix unicorn/require-array-join-separator

* style: fix unicorn/prefer-math-trunc

* style: fix unicorn/prefer-negative-index

* style: fix unicorn/prefer-dom-node-dataset

* style: fix unicorn/prefer-dom-node-text-content

* style: fix unicorn/prefer-query-selector

* style: fix unicorn/no-array-for-each

* style: fix unicorn/no-negated-condition

* style: fix unicorn/prefer-add-event-listener

* style: fix unicorn/import-style

* style: fix prefer-regex-literals

* style: disable unicorn/no-useless-switch-case

* style: disable unicorn/text-encoding-identifier-case

* style: fix unicorn/prefer-set-has

* style: fix unicorn/prefer-spread

* revert: auto fix on lib/routes/universities/ynnu/edu/base64.js

* style: fix unicorn/no-useless-undefined

* style: fix unicorn/no-array-push-push

* style: fix unicorn/no-useless-undefined again

* style: fix unicorn/no-lonely-if

* style: fix unicorn/prefer-reflect-apply

* style: fix unicorn/switch-case-braces

* style: fix unicorn/prefer-switch

* style: fix unicorn/prefer-array-some

* fix: deepscan UNUSED_VAR_ASSIGN

* style: fix unicorn/prefer-ternary

* fix: follow-up of unicorn/prefer-ternary

* revert: auto fix of unicorn/prefer-string-slice for substring()

* style: disable unicorn/prefer-string-slice

fix: auto fix slice over deprecated substr

* style: fix unicorn/throw-new-error

* style: fix unicorn/filename-case

* test: fix dateParser renaming

* style: fix unicorn/better-regex

* style: fix unicorn/prefer-string-replace-all

* fix(deps): add sanitize-html

* style: fix no-prototype-builtins

* style: fix unicorn/consistent-destructuring

* style: fix unicorn/consistent-function-scoping

* style: fix unicorn/prefer-regexp-test

* style: fix unicorn/prefer-logical-operator-over-ternary

* style: fix unicorn/no-array-callback-reference

* style: add prefer-object-has-own

* style: warn unicorn/no-empty-file

* style: fix unicorn/prefer-number-properties

* style: fix no-useless-undefined again

* style: fix unicorn/numeric-separators-style

* style: disable unicorn/no-array-callback-reference

false postive with cheerio
2024-01-18 20:43:40 +08:00
Henry Wang
d6056e2dbc feat!: allowlist & denylist (#13681)
* feat!: allowlist & denylist

* Update website/i18n/zh/docusaurus-plugin-content-docs/current/install/README.md

* Update website/i18n/zh/docusaurus-plugin-content-docs/current/install/README.md

* Update website/i18n/zh/docusaurus-plugin-content-docs/current/install/README.md

* Update website/docs/install/README.md

* Update website/docs/install/README.md

* Update website/docs/install/README.md

* Update website/docs/install/README.md

* Update website/docs/install/README.md

* chore: revert

---------
2023-11-03 21:21:17 +08:00
Tony
475372751f chore: revise github actions (#13612)
* chore: rename actions

* chore: fix path maintainer build

* feat: prepare script for node20

* chore: fix semgrep cant access secret
2023-10-23 03:44:46 +08:00
Tony
37574030e7 chore: change noroute label name 2023-08-28 20:02:12 +08:00
TonyRL
8458e90fcd chore: deny test route with path-to-regex syntax 2023-04-08 18:12:15 +00:00
TonyRL
1dd0d860f0 chore: fix context.state 2023-04-05 20:03:56 +00:00
TonyRL
64cb56827e chore: reopen and test pr/issue after edited 2023-04-05 14:05:00 +00:00
Rongrong
cf9c7baf6e ci(test-route): fix regex (#11335)
Signed-off-by: Rongrong <i@rong.moe>

Signed-off-by: Rongrong <i@rong.moe>
2022-11-28 02:12:29 +08:00
github-actions[bot]
f12289fa60 style: auto format 2022-05-27 18:53:49 +00:00
Tony
3ff9464954 chore: fix auto label 2022-05-28 02:51:42 +08:00
Tony
dd31298533 chore: fix auto label 2022-05-27 10:39:56 +00:00
Tony
5dd5317400 chore(workflow): test route on demand (#9831)
* chore: on demand test

* style: lint
2022-05-27 04:09:00 +08:00
MisLink
739cf602f3 fix(workflow): Fix regexp error when commit via vscode (#9805)
Signed-off-by: MisLink <gjq.uoiai@outlook.com>
2022-05-23 03:37:19 +08:00
Rongrong
4432bb0f19 chore(*): fix improper @pull[bot] config (#9710)
Signed-off-by: Rongrong <i@rong.moe>
2022-05-05 20:35:19 -05:00
Rongrong
3d21235b40 chore(*): PR route test result auto-split (#9699)
Signed-off-by: Rongrong <i@rong.moe>
2022-05-06 04:38:15 +08:00
Rongrong
c1fbc64255 chore(*): detailed info for PR route test (#9689)
Signed-off-by: Rongrong <i@rong.moe>
2022-05-04 06:08:10 +08:00
Rongrong
7b6589cafa chore(*): migrate to GHA-based PR route test (#9683)
Signed-off-by: Rongrong <i@rong.moe>
2022-05-03 19:24:27 +08:00
Tony
ea04c22ee8 fix(ci): pr-deploy-route-test workflow (#8611) 2021-12-02 19:49:00 -08:00
Sukka
6e3b58ed1d refactor: avoid promise overhead (#8028) 2021-08-16 11:45:53 -07:00
GitHub Action
b3383347b5 style: auto format 2021-06-15 17:56:18 +00:00
NeverBehave
3a461bee27 fix(chore): CI pass bot 2021-06-15 10:54:19 -07:00
GitHub Action
faad21a069 style: auto format 2021-01-25 13:19:32 +00:00
NeverBehave
6f909604b5 fix: add whitelisted user
these user will auto pass route test
2021-01-25 08:17:12 -05:00
DIYgod
49d931b7c9 chore: fix dependabot name 2021-01-25 21:10:07 +08:00
DIYgod
e8beb4029c chore: fix dependabot ci error 2021-01-25 18:03:06 +08:00
NeverBehave
c89ff78f28 dep: lock headless chrome version (#6685)
* fix typo in workflow
* fix: lock headless chrome for now to avoid detection
close #6680
2021-01-12 16:55:37 -05:00
GitHub Action
57634bfbec style: auto format 2021-01-11 15:51:59 +00:00
NeverBehave
3a553c7f1c docs: close pr on wrong format, reopen to rescan (#6669)
* template: enforcing rules and use reopen as trigger to retest route
2021-01-11 10:49:57 -05:00
GitHub Action
6fac3d0dce style: auto format 2021-01-11 04:48:46 +00:00
NeverBehave
05ce88e8db fix: core reference, template 2021-01-10 23:39:22 -05:00
GitHub Action
d1aa038b28 style: auto format 2021-01-11 00:47:42 +00:00
NeverBehave
cb1506e535 fix: ci wait for label creation before exit (#6655)
* fix: style and token used on exit

* [CodeFactor] Apply fixes

[ci skip] [skip ci]

Co-authored-by: codefactor-io <support@codefactor.io>
2021-01-10 19:45:53 -05:00
GitHub Action
611c7fb1e8 style: auto format 2021-01-11 00:24:08 +00:00
NeverBehave
ed57536a96 Pr autotest (#6654)
* fix: catch error on submit
2021-01-10 19:21:58 -05:00
codefactor-io
036796e716 [CodeFactor] Apply fixes
[ci skip] [skip ci]
2021-01-10 23:58:27 +00:00
NeverBehave
16d3799970 flow: pr auto test template 2021-01-10 18:55:03 -05:00