更新 .gitea/workflows/update-rules.yml
This commit is contained in:
@@ -20,10 +20,13 @@ jobs:
|
||||
mkdir -p ruleset/yaml
|
||||
|
||||
- name: 下载并转换规则文件
|
||||
run: |
|
||||
curl -L "https://anti-ad.net/clash.yaml" \
|
||||
-o "ruleset/yaml/reject.yaml" \
|
||||
--fail --silent --show-error
|
||||
run: |
|
||||
# 定义规则文件列表
|
||||
rules=(
|
||||
"reject"
|
||||
"icloud"
|
||||
"apple"
|
||||
"google"
|
||||
@@ -58,6 +61,7 @@ jobs:
|
||||
# Clash Rules
|
||||
|
||||
自动同步 [Loyalsoldier/clash-rules](https://github.com/Loyalsoldier/clash-rules) 规则文件。
|
||||
其中广告过滤规则替换为更好的[privacy-protection-tools/anti-AD](https://github.com/privacy-protection-tools/anti-AD?tab=readme-ov-file) :`anti-ad-clash.yaml`。
|
||||
|
||||
## 文件说明
|
||||
|
||||
|
||||
Reference in New Issue
Block a user