Commit Graph

114 Commits

Author SHA1 Message Date
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
Tony 523a9b2b8a
chore: add codeql (#9249) 2022-03-06 01:37:55 +08:00
dependabot[bot] 1fbda8fc72
chore(deps): bump actions/checkout from 2 to 3 (#9230)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  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>

[skip ci]
2022-03-01 12:04:46 -10:00
Tony 0210d468f4
style(eslint): no empty line before comments for yml (#9203) 2022-02-26 09:06:31 +08:00
TonyRL 5324eefdad chore: test build radar and maintainer
chore: drop dependabot ignored deps temporarily

For some unknown reasons, it seems using a pretty old config(e.g., ignore googleapis=67.1.0) instead of the current only ignore esm deps
2022-02-25 03:50:35 +00:00
Tony 7794ce2458
chore: lint
[skip ci]
2022-02-24 14:15:13 -09:00
Tony a84e83b2a9
chore: allows triggering docker builds manually 2022-02-24 14:05:38 -09:00
dependabot[bot] 7d120cefbf
chore(deps): bump actions/setup-node from 2 to 3.0.0 (#9194)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2 to 3.0.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2...v3.0.0)

---
updated-dependencies:
- dependency-name: actions/setup-node
  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-02-24 17:08:26 -05:00
Tony cc362e4c7b
chore: change pr lint event to pull_request_target
Reviewdog does not has sufficient permission to write Review API
See <https://github.com/reviewdog/reviewdog/blob/master/cmd/reviewdog/main.go#L277>
2022-02-24 16:56:25 +00:00
Tony 802b67fcbb
chore: eslint with reviews (#9185) 2022-02-24 07:48:26 +08:00
Tony 862ec5df44
chore: name actions (#9152)
[skip ci]
2022-02-19 19:39:52 +08:00
Tony 0c8fe12889
chore: parallel test (#9139)
* chore: parallel test

* chore: parallel test
2022-02-18 23:03:39 +08:00