更新 .gitea/workflows/update-rules.yml
All checks were successful
Update Clash Rules / update-rules (push) Successful in 6s
All checks were successful
Update Clash Rules / update-rules (push) Successful in 6s
This commit is contained in:
@@ -24,7 +24,8 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
curl -L "https://anti-ad.net/clash.yaml" \
|
curl -L "https://anti-ad.net/clash.yaml" \
|
||||||
-o "ruleset/yaml/reject.yaml" \
|
-o "ruleset/yaml/reject.yaml" \
|
||||||
--fail --silent --show-error
|
--fail --silent --show-error && \
|
||||||
|
sed 's/^/ - /' "ruleset/yaml/reject.yaml" >> "ruleset/txt/reject.txt"
|
||||||
|
|
||||||
# 定义规则文件列表
|
# 定义规则文件列表
|
||||||
rules=(
|
rules=(
|
||||||
@@ -61,8 +62,8 @@ jobs:
|
|||||||
cat > README.md << EOF
|
cat > README.md << EOF
|
||||||
# Clash Rules
|
# Clash Rules
|
||||||
|
|
||||||
自动同步 [Loyalsoldier/clash-rules](https://github.com/Loyalsoldier/clash-rules) 规则文件。</br>
|
自动同步 [clash-rules](https://github.com/Loyalsoldier/clash-rules) 规则文件。</br>
|
||||||
其中广告过滤规则替换为更好的[privacy-protection-tools/anti-AD](https://github.com/privacy-protection-tools/anti-AD?tab=readme-ov-file) : anti-ad-clash.yaml。
|
其中广告过滤规则替换为更好的[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