Skip to content

修正 fetchScriptBody 的 Accept 设定,避免触发 Error 406 #3930

修正 fetchScriptBody 的 Accept 设定,避免触发 Error 406

修正 fetchScriptBody 的 Accept 设定,避免触发 Error 406 #3930

Triggered via pull request March 27, 2026 03:45
Status Success
Total duration 2m 21s
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. 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/script/ScriptEditor.tsx#L471
React Hook useEffect has missing dependencies: 'pageInit', 'pageUrlSearchParams', 'scriptDAO', and 'setPageUrlSearchParams'. Either include them or remove the dependency array
Run tests: src/pages/options/routes/script/ScriptEditor.tsx#L81
React Hook useEffect has missing dependencies: 'callbackEditor', 'hotKeys', 'node', 'onChange', and 'script'. Either include them or remove the dependency array. If 'callbackEditor' changes too often, find the parent component that defines it and wrap that definition in useCallback
Run tests: src/pages/options/routes/ScriptList/index.tsx#L259
React Hook useEffect has a missing dependency: 'usp'. Either include it or remove the dependency array
Run tests: src/pages/options/routes/Logger.tsx#L107
React Hook useEffect has missing dependencies: 'init', 'labels', and 'loggerDAO'. Either include them or remove the dependency array
Run tests: src/pages/options/routes/Logger.tsx#L78
React Hook useEffect has missing dependencies: 'defaultQuery' and 'onQueryLog'. Either include them or remove the dependency array
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. 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/