pseudoyu
02514c53f5
perf(ci): keep only the two newest CodeQL databases in the Actions cache
...
On master, CodeQL saves a ~340 MB overlay-base database to the Actions cache for
every commit and never deletes one; pull requests only restore the newest. 16 of
them (5.4 GB) put the cache at 10.5 GB, over the 10 GB limit, so GitHub evicts
other caches to make room.
After each master analysis a small job deletes all but the two newest. The
second one stays so that a pull request restoring it at that moment is not cut
off. During a burst of master pushes two of these jobs can delete the same
database; a delete that fails is fine when the database is already gone, and
fails the job only when it is still there. Pull requests keep their
incremental analysis.
2026-11-02 16:19:19 +09:00
pseudoyu
858bacc4fb
perf(ci): skip Test, Lint and CodeQL for docs-only changes
...
A pull request that only touches Markdown, LICENSE or the issue templates ran
the whole test matrix, Lint and CodeQL. Those changes cannot affect any of them.
The pull_request_target jobs (title check, labels, spam checks) and Semgrep keep
running for every pull request; Semgrep's rules also scan Markdown. CodeQL keeps
analyzing every push to master, so pull requests always have a base to compare
against. No check is required on master, so a skipped workflow cannot block a
merge.
2026-11-02 16:19:18 +09:00
pseudoyu
bc1c54d4d1
perf(ci): cancel the previous run when a pull request gets a new push
...
Test, Lint, CodeQL and Semgrep kept running for pushes that a newer push had
already replaced. Only the run for the latest push of a pull request matters.
Every other run, including pushes to master and scheduled runs, gets its own
group per branch and commit, so it is never cancelled and never replaces
another run. The branch is part of the group because the same commit can be
pushed to a branch and then to master; keyed by commit alone, those two runs
would share a group. Lint sets this on its own job because the
pull_request_target jobs in the same file run once when a pull request is
opened and must keep running.
2026-11-02 16:19:18 +09:00
dependabot[bot]
e6b750f22b
chore(deps): bump actions/checkout from 7.0.0 to 7.0.1 ( #22773 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 7.0.0 to 7.0.1.
- [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/9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0...3d3c42e5aac5ba805825da76410c181273ba90b1 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: 7.0.1
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>
2026-07-21 08:06:52 +00:00
dependabot[bot]
99db8efeb8
chore(deps): bump actions/checkout from 6.0.3 to 7.0.0 ( #22308 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 6.0.3 to 7.0.0.
- [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/df4cb1c069e1874edd31b4311f1884172cec0e10...9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: 7.0.0
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>
2026-06-19 18:03:03 +08:00
dependabot[bot]
3ce8fda699
chore(deps): bump actions/checkout from 6.0.2 to 6.0.3 ( #22177 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 6.0.2 to 6.0.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/de0fac2e4500dabe0009e67214ff5f5447ce83dd...df4cb1c069e1874edd31b4311f1884172cec0e10 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: 6.0.3
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>
2026-06-03 23:13:31 +00:00
Tony
7785a7bde4
style: update eslint rules ( #21207 )
...
* style: update eslint rules
* style: fix prefer-object-spread
* style: fix no-lonely-if
* fix: typescript-eslint/no-unnecessary-template-expression
* fix: sort import
* style: apply file filtering to config presets
* revert: changes on pkg
* style: revert
* style: use defineConfig
* style: reorder js plugin in eslint config
* chore: remove obsolete override
* style: fix CodeQL initialization to ensure language matrix is used
2026-02-23 08:17:37 +08:00
dependabot[bot]
3e32ff2187
chore(deps): bump actions/checkout from 6.0.1 to 6.0.2 ( #20959 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 6.0.1 to 6.0.2.
- [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/8e8c483db84b4bee98b60c0593521ed34d9990e8...de0fac2e4500dabe0009e67214ff5f5447ce83dd )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: 6.0.2
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>
2026-01-23 21:51:56 +08:00
Tony
2cef8cf1cc
fix(workflows): use ubuntu-latest for codeql
...
https://gh.io/recommended-hardware-resources-for-running-codeql
rsshub has 400k loc
2025-12-29 05:09:46 +08:00
Tony
976b47b1a7
chore(workflows): switch runners from ubuntu-latest to ubuntu-slim ( #20776 )
2025-12-28 23:04:29 +08:00
dependabot[bot]
e6195d48fa
chore(deps): bump actions/checkout from 6.0.0 to 6.0.1 ( #20628 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 6.0.0 to 6.0.1.
- [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/1af3b93b6815bc44a9784bd300feb67ff0d1eeb3...8e8c483db84b4bee98b60c0593521ed34d9990e8 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: 6.0.1
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>
2025-12-03 08:21:12 +00:00
Stephen Zhou
be83ac8be4
chore: fix prettier config
2025-11-27 14:32:29 +08:00
dependabot[bot]
0c57bd3f17
chore(deps): bump actions/checkout from 5.0.1 to 6.0.0 ( #20536 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 5.0.1 to 6.0.0.
- [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/93cb6efe18208431cddfb8368fd83d5badbf9bfd...1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: 6.0.0
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>
2025-11-21 19:07:32 +08:00
dependabot[bot]
df15548a31
chore(deps): bump actions/checkout from 5.0.0 to 5.0.1 ( #20509 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 5.0.0 to 5.0.1.
- [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/08c6903cd8c0fde910a37f88322edcfb5dd907a8...93cb6efe18208431cddfb8368fd83d5badbf9bfd )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: 5.0.1
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>
2025-11-18 19:30:56 +08:00
dependabot[bot]
b5623a8f11
chore(deps): bump github/codeql-action from 3 to 4 ( #20256 )
...
* chore(deps): bump github/codeql-action from 3 to 4
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3 to 4.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Commits](https://github.com/github/codeql-action/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: '4'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* chore(ci): pin to tag instead
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-08 22:46:14 +08:00
dependabot[bot]
be24ec18dd
chore(deps): bump actions/checkout from 4.2.2 to 5.0.0 ( #19817 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4.2.2 to 5.0.0.
- [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/11bd71901bbe5b1630ceea73d27597364c9af683...08c6903cd8c0fde910a37f88322edcfb5dd907a8 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: 5.0.0
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>
2025-08-13 01:49:23 +08:00
Tony
ef22a71dd6
chore: update auto label
2025-06-05 21:07:25 +08:00
Tony
8ca2623208
chore: pin action to hash to prevent tj-actions incident
2025-03-20 01:56:02 +08:00
Tony
3272c7c795
chore: Update CodeQL workflow configuration
2024-03-21 10:09:52 +08:00
dependabot[bot]
86b587c669
chore(deps): bump github/codeql-action from 2 to 3 ( #14026 )
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2 to 3.
- [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/v2...v3 )
---
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>
2023-12-13 22:12:00 +00:00
dependabot[bot]
5dc8d67a40
chore(deps): bump actions/checkout from 3 to 4 ( #13214 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [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/v3...v4 )
---
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>
2023-09-05 07:39:41 +08:00
TonyRL
7113d82892
chore: actions timeout
...
[skip ci]
2023-02-09 16:12:41 +00:00
TonyRL
38130beef4
chore: avoid unnecessary test action run
2022-05-23 13:01:29 +00: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
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