Skip to content

feat(csp): CSP 规则管理功能 #4201

feat(csp): CSP 规则管理功能

feat(csp): CSP 规则管理功能 #4201

Re-run triggered April 12, 2026 14:46
Status Success
Total duration 2m 30s
Artifacts –

test.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

12 warnings
Run tests
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea, actions/setup-node@v4, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Run tests: src/pages/options/routes/CSPRule/index.tsx#L632
Missing JSX expression container around literal string: "路径通配符(需 ^ 前缀)"
Run tests: src/pages/options/routes/CSPRule/index.tsx#L626
Missing JSX expression container around literal string: "* 匹配所有 URL | 域名中 * 匹配单段 | 协议中 * 匹配任意字母或冒号 | **. 匹配多级子域"
Run tests: src/pages/options/routes/CSPRule/index.tsx#L609
Missing JSX expression container around literal string: "*. 仅匹配子域名 | **. 匹配多级子域名 | ***. 同时匹配根域名和多级子域名"
Run tests: src/pages/options/routes/CSPRule/index.tsx#L580
Missing JSX expression container around literal string: ":"
Run tests: src/pages/options/routes/CSPRule/index.tsx#L577
Missing JSX expression container around literal string: ":"
Run tests: src/pages/install/App.tsx#L644
React Hook useEffect has missing dependencies: 'localFileHandle', 'scriptInfo?.uuid', 'setupWatchFile', and 'watchFile'. Either include them or remove the dependency array
Run tests: src/pages/install/App.tsx#L329
React Hook useEffect has a missing dependency: 'initAsync'. Either include it or remove the dependency array
Run tests: src/pages/confirm/App.tsx#L42
React Hook useEffect has missing dependencies: 't' and 'uuid'. Either include them or remove the dependency array
Run tests: src/pages/components/ScriptSetting/Match.tsx#L90
React Hook useEffect has a missing dependency: 'refreshMatch'. Either include it or remove the dependency array
Run tests: src/pages/components/CloudScriptPlan/index.tsx#L60
React Hook useEffect has a missing dependency: 'form'. Either include it or remove the dependency array
Run E2E tests
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-node@v4, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/