Commit Graph

125 Commits

Author SHA1 Message Date
Tony 6de48c433f docs: push custom settings before scrape 2022-09-08 16:07:51 +00:00
Tony f57e6230ac
docs: vercel workaround (#10665)
* docs: vercel workaround

* docs: weekly scrape
2022-09-01 03:47:18 +08:00
Tony c1176174d4
chore: install deps 2022-08-31 01:48:34 +02:00
Tony fee049146e
chore: update meilisearch settings (#10659)
* chore: update meilisearch settings

* fix: docker build
2022-08-31 02:29:51 +08:00
TonyRL c233b1787f chore: pull image before waiting 2022-08-29 17:42:03 +00:00
Tony 42768369ba
chore: wait for netlify before scraping 2022-08-29 00:50:48 +08:00
Tony f806d0c145 docs: replace algolia with meilisearch 2022-08-27 15:07:44 +00:00
Tony 5aff0dc0a1 chore: trigger action on file update only 2022-08-17 15:56:36 +00:00
Tony be15499a1e chore: skip docker test on maintainer/radar update 2022-08-11 11:37:22 +00:00
Tony 8b04fef528
chore: add labeler (#10285) 2022-07-20 23:45:54 +08:00
dependabot[bot] a22101e0bd
chore(deps): bump Simek/yarn-lock-changes from 0.9.0 to 0.11.1 (#10195)
Bumps [Simek/yarn-lock-changes](https://github.com/Simek/yarn-lock-changes) from 0.9.0 to 0.11.1.
- [Release notes](https://github.com/Simek/yarn-lock-changes/releases)
- [Commits](https://github.com/Simek/yarn-lock-changes/compare/v0.9.0...v0.11.1)

---
updated-dependencies:
- dependency-name: Simek/yarn-lock-changes
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-12 01:41:10 -04:00
Rongrong 13ec6be32b
fix(test): failing puppeteer without stealth test (#9851)
Signed-off-by: Rongrong <i@rong.moe>
2022-05-30 01:49:01 -03:00
Tony 5dd5317400
chore(workflow): test route on demand (#9831)
* chore: on demand test

* style: lint
2022-05-27 04:09:00 +08:00
Tony 92a1a66edb
chore: add back missing `pull_request` trigger 2022-05-23 23:17:46 +08:00
TonyRL 38130beef4 chore: avoid unnecessary test action run 2022-05-23 13:01:29 +00:00
TonyRL 82a6b98e7e chore: add self assign 2022-05-23 12:24:26 +00:00
Rongrong eeb37848cb
ci(comment-on-issue): bugfix, polish phrases (#9773) [skip ci] 2022-05-16 16:06:17 -07:00
TonyRL d65f5fd053 chore(workflow): puppeteer test dont fail fast 2022-05-15 15:54:40 +00:00
NeverBehave d72740682c fix(workflow): rebuild assets on script changes 2022-05-15 03:10:27 -07:00
NeverBehave 2c41038726
chore(workflow): ping maintainer on matched routes; [skip ci] (#9758) 2022-05-15 02:31:33 -07:00
Rongrong 4e407d7aaa
ci(test): ignore push event on `dependabot/**` (#9736)
Signed-off-by: Rongrong <i@rong.moe>
2022-05-12 01:53:21 +08:00
dependabot[bot] 3e81ed04e1
chore(deps): bump cirrus-actions/rebase from 1.6 to 1.7 (#9733)
Bumps [cirrus-actions/rebase](https://github.com/cirrus-actions/rebase) from 1.6 to 1.7.
- [Release notes](https://github.com/cirrus-actions/rebase/releases)
- [Commits](https://github.com/cirrus-actions/rebase/compare/1.6...1.7)

---
updated-dependencies:
- dependency-name: cirrus-actions/rebase
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-11 05:48:04 +08:00
dependabot[bot] 4b3cb4a130
chore(deps): bump docker/build-push-action from 2 to 3 (#9705)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 2 to 3.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-06 05:55:50 +08:00
dependabot[bot] 0659260576
chore(deps): bump docker/metadata-action from 3 to 4 (#9707)
Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 3 to 4.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Upgrade guide](https://github.com/docker/metadata-action/blob/master/UPGRADE.md)
- [Commits](https://github.com/docker/metadata-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: docker/metadata-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-06 05:52:30 +08:00
dependabot[bot] c4e605921f
chore(deps): bump docker/login-action from 1 to 2 (#9709)
Bumps [docker/login-action](https://github.com/docker/login-action) from 1 to 2.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-06 05:50:43 +08:00
dependabot[bot] e88114958e
chore(deps): bump docker/setup-buildx-action from 1 to 2 (#9706)
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 1 to 2.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-06 05:48:02 +08:00
dependabot[bot] 8ea47d6948
chore(deps): bump docker/setup-qemu-action from 1 to 2 (#9708)
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) from 1 to 2.
- [Release notes](https://github.com/docker/setup-qemu-action/releases)
- [Commits](https://github.com/docker/setup-qemu-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-06 05:45:16 +08:00
Rongrong ff3fcdd97e
chore(CI): remove setup-QEMU from docker-test (#9690)
useless step

Signed-off-by: Rongrong <i@rong.moe>
2022-05-04 17:35:08 +10:00
Rongrong 23fcb6bc5a
feat(core/utils/request-wrapper): request logging (#9691)
Signed-off-by: Rongrong <i@rong.moe>
2022-05-04 12:36:48 +10: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
TonyRL e0a809fbc2 chore: set test image artifact to 1 day
1 build ~247MB, Pro account has 2GB
2022-05-03 18:01:38 +00:00
Tony 78b43b1b0c
chore: add pr title lint (#9686)
* chore: add pr title lint

* chore: fix pr template typo
2022-05-04 01:31:23 +08:00
Tony 1dfc101a59
chore: bump gha node to v16 (#9685) 2022-05-03 20:10: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
Rongrong 7a6be9a229
feat(core): customizable Chromium executable path (#9670)
* feat(core): customizable Chromium executable path

also build Chromium-bundled Docker image for arm/arm64

Signed-off-by: Rongrong <i@rong.moe>

* chore: fix typo

Signed-off-by: Rongrong <i@rong.moe>

* chore(CI/test): using build matrix

Signed-off-by: Rongrong <i@rong.moe>

* docs(install): fix punctuation

Signed-off-by: Rongrong <i@rong.moe>
2022-05-01 21:00:29 +08:00
Rongrong 6bdb57c91c
chore(CI): re-enable codecov token to fix error (#9664)
Signed-off-by: Rongrong <i@rong.moe>
2022-04-29 22:48:49 -05:00
Rongrong 72070d40cc
chore(*): fix code coverage not uploaded (#9661)
Signed-off-by: Rongrong <i@rong.moe>
2022-04-30 07:37:23 +08:00
neilnaveen ba496a625c
chore: Set permissions for GitHub actions (#9644)
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.

- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions

https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/)

Signed-off-by: neilnaveen <42328488+neilnaveen@users.noreply.github.com>
2022-04-28 21:01:45 +08:00
Rongrong d8c00ec238
build(docker): optimize; add Chromium bundled ver (#9626)
* build(docker): optimize; add Chromium bundled ver

Signed-off-by: Rongrong <i@rong.moe>

* build(Dockerfile): fix redundant command and label

Signed-off-by: Rongrong <i@rong.moe>

* build(docker): only install prod deps to speed up

Signed-off-by: Rongrong <i@rong.moe>

* docs(install): minor fixes

Signed-off-by: Rongrong <i@rong.moe>

* build(Dockerfile): bump to `node:16-bullseye-slim`

Signed-off-by: Rongrong <i@rong.moe>

* build(Dockerfile): fix yarn registry mirror

Signed-off-by: Rongrong <i@rong.moe>

* build(Dockerfile): minimize dependencies

for Chromium-bundled version

Signed-off-by: Rongrong <i@rong.moe>
2022-04-28 20:40:21 +08:00
dependabot[bot] 9013eb7482
chore(deps): bump github/codeql-action from 1 to 2 (#9621)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 1 to 2.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-26 04:40:50 +08:00
Tony 455594aff2
chore: switch back from `pull_request_target` to `pull_request` 2022-04-18 02:32:51 +08:00
dependabot[bot] e35940b3bd
chore(deps): bump cirrus-actions/rebase from 1.5 to 1.6 (#9548)
Bumps [cirrus-actions/rebase](https://github.com/cirrus-actions/rebase) from 1.5 to 1.6.
- [Release notes](https://github.com/cirrus-actions/rebase/releases)
- [Commits](https://github.com/cirrus-actions/rebase/compare/1.5...1.6)

---
updated-dependencies:
- dependency-name: cirrus-actions/rebase
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-16 05:56:16 +08:00
Tony 3526170c79
chore: add eslint along with reviewdong 2022-04-12 17:38:58 +08:00
TonyRL 6c7988c481 chore: rebuild yarn.lock
* minimist 1.2.5 CVE-2021-44906
2022-04-11 23:38:08 +00:00
dependabot[bot] 35cdecc924
chore(deps): bump actions/setup-node from 3.1.0 to 3.1.1 (#9518)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v3.1.0...v3.1.1)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-11 07:37:28 -11:00
Tony 3b00a07c2a
chore: skip docker build on maintainer / radar update
[skip ci]
2022-04-09 19:26:28 +08:00
dependabot[bot] ca5af864cc
chore(deps): bump codecov/codecov-action from 2.1.0 to 3 (#9478)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 2.1.0 to 3.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v2.1.0...v3)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-05 20:27:36 -07:00
Tony 300af73187
chore: auto update docker hub description (#9454) 2022-04-04 00:05:43 +08:00
dependabot[bot] 9f791abda7
chore(deps): bump actions/setup-node from 3.0.0 to 3.1.0 (#9445)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v3.0.0...v3.1.0)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-02 06:05:02 +08:00
github-actions[bot] 0cb66d19b3 style: auto format 2022-03-05 17:48:13 +00:00