halo-dev / halo

强大易用的开源建站工具。
https://www.halo.run
GNU General Public License v3.0
33.3k stars 9.61k forks source link

refactor: optimize file type detection and support decision-making based on file name #6675

Open guqing opened 2 days ago

guqing commented 2 days ago

What type of PR is this?

/kind improvement /area core /milestone 2.20.x

What this PR does / why we need it:

优化文件类型检测并支持根据文件名作为决策依据

Does this PR introduce a user-facing change?

优化文件类型检测并支持根据文件名作为决策依据
f2c-ci-robot[bot] commented 2 days ago

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: Once this PR has been reviewed and has the lgtm label, please ask for approval from guqing. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files: - **[OWNERS](https://github.com/halo-dev/halo/blob/main/OWNERS)** Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment
sonarcloud[bot] commented 2 days ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud