Compare commits

..

8 Commits

Author SHA1 Message Date
dependabot[bot]
b5dbb7d315 Chore: bump actions/checkout from 6 to 7 (#65)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-19 07:33:34 +08:00
Loyalsoldier
3cab02f98d CI: fix workflow permissions (#62)
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2026-04-20 07:45:34 +08:00
dependabot[bot]
2a7da3a998 Chore: bump softprops/action-gh-release from 2 to 3 (#61)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-13 07:42:39 +08:00
Loyalsoldier
1027a0cd99 Docs: add badges 2026-01-14 05:25:58 +08:00
dependabot[bot]
96d513befb Chore: bump actions/checkout from 5 to 6 (#59)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-21 08:42:49 +08:00
dependabot[bot]
ee65d48015 Chore: bump actions/checkout from 4 to 5 (#58) 2025-08-14 08:33:54 +08:00
Loyalsoldier
3bddca781f Docs: remove version notice 2024-05-01 17:55:55 +08:00
dependabot[bot]
1576186b26 Chore: bump softprops/action-gh-release from 1 to 2 (#43) 2024-03-13 21:48:12 +08:00
2 changed files with 5 additions and 8 deletions

View File

@@ -1,4 +1,6 @@
name: Generate routing rules for Surge
permissions:
contents: write
on:
workflow_dispatch:
schedule:
@@ -32,7 +34,7 @@ jobs:
shell: bash
- name: Checkout the default branch
uses: actions/checkout@v4
uses: actions/checkout@v7
- name: Make directory
run: |
@@ -117,7 +119,7 @@ jobs:
mv ruleset ./publish/
- name: Release and upload assets
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v3
with:
name: ${{ env.RELEASE_NAME }}
tag_name: ${{ env.TAG_NAME }}

View File

@@ -1,4 +1,4 @@
# 简介
# 简介 ![GitHub Downloads (all assets, all releases)](https://img.shields.io/github/downloads/Loyalsoldier/surge-rules/total?logo=github) [![jsdelivr stats](https://data.jsdelivr.com/v1/package/gh/Loyalsoldier/surge-rules/badge?style=rounded)](https://www.jsdelivr.com/package/gh/Loyalsoldier/surge-rules)
本项目生成适用于 [**Surge**](https://nssurge.com) 的规则集DOMAIN-SET 和 RULE-SET。使用 GitHub Actions 北京时间每天早上 6:30 自动构建,保证规则最新。
@@ -6,11 +6,6 @@
本项目规则集DOMAIN-SET 和 RULE-SET的数据主要来源于项目 [@Loyalsoldier/v2ray-rules-dat](https://github.com/Loyalsoldier/v2ray-rules-dat) 和 [@v2fly/domain-list-community](https://github.com/v2fly/domain-list-community)[`Apple`](https://github.com/Loyalsoldier/surge-rules/blob/release/apple.txt) 和 [`Google`](https://github.com/Loyalsoldier/surge-rules/blob/release/google.txt) 列表里的部分域名来源于项目 [@felixonmars/dnsmasq-china-list](https://github.com/felixonmars/dnsmasq-china-list);中国大陆 IPv4 地址数据使用 [@17mon/china_ip_list](https://github.com/17mon/china_ip_list)。
### ⚠️ 注意:
- **DOMAIN-SET** 同时适用于 Surge for Mac **v3.5.1** 及更新的版本、Surge for iOS **v4.2.2** 及更新的版本,拥有比 RULE-SET 更优秀的匹配效率,建议优先使用。
- **RULE-SET** 同时适用于 Surge for Mac **v3.0** 及更新的版本、Surge for iOS **v3.4** 及更新的版本。
## 规则文件地址及使用方式
### 在线地址URL