Skip to content

Commit ffbdf9e

Browse files
committed
rm
0 parents  commit ffbdf9e

25 files changed

Lines changed: 1603 additions & 0 deletions
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: 🌏 国内冷门域名上报 (CN Domain Report)
2+
description: 上报被误判为代理的国内域名
3+
title: '[国内域名] 域名 example.com'
4+
labels: 'enhancement'
5+
6+
body:
7+
- type: checkboxes
8+
id: verify_steps
9+
attributes:
10+
label: 前置确认 (Pre-check)
11+
description: |
12+
提交前请确认:
13+
options:
14+
- label: 我确认该域名实际的解析结果为中国大陆 IP
15+
required: true
16+
- label: 我确认该域名未命中任何现有规则,导致走了漏网之鱼
17+
required: true
18+
19+
- type: textarea
20+
id: cn_domain
21+
attributes:
22+
label: 域名列表 (Domains)
23+
description: |
24+
列出需要添加的国内域名,每行一个。
25+
validations:
26+
required: true
27+
28+
- type: textarea
29+
id: evidence
30+
attributes:
31+
label: 解析证据 (Evidence)
32+
description: |
33+
提供域名的 DNS 解析结果或相关截图,证明其为国内服务。
34+
validations:
35+
required: true

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
blank_issues_enabled: false
2+
3+
contact_links:
4+
5+
- name: 💡 新手小白求助 (Newbie Help)
6+
url: https://github.com/Aethersailor/Custom_OpenClash_Rules/discussions/new?category=q-a
7+
about: 寻求帮助或咨询非代码缺陷问题,请前往 Discussions 发布 Q&A。
8+
9+
- name: 💬 讨论与建议 (Discussions)
10+
url: https://github.com/Aethersailor/Custom_OpenClash_Rules/discussions/new/choose
11+
about: 参与讨论或提出项目建议。
12+
13+
- name: ✨ 个性化需求 (Personal Request)
14+
url: https://github.com/Aethersailor/Custom_OpenClash_Rules/wiki/%E5%85%B6%E4%BB%96%E8%AF%B4%E6%98%8E#2-%E5%85%B3%E4%BA%8E%E4%B8%AA%E6%80%A7%E5%8C%96%E9%9C%80%E6%B1%82
15+
about: 关于特定网站走代理或直连的需求,请查阅通过 Wiki 自行解决。
16+
17+
- name: 🔄 后端服务转换问题 (Backend Issue)
18+
url: https://github.com/Aethersailor/SubConverter-Extended/issues
19+
about: 转换结果异常或后端引擎报错,请前往 SubConverter-Extended 仓库反馈。
20+
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: 📘 IPv6 设置文档错误 (IPv6 Doc Issue)
2+
description: 上报 IPv6 设置文档中的逻辑错误或过时信息
3+
title: '[文档错误] IPv6 设置方案问题'
4+
labels: ["documentation"]
5+
6+
body:
7+
- type: checkboxes
8+
id: verify_steps
9+
attributes:
10+
label: 前置确认 (Pre-check)
11+
description: 提交前请确认以下事项:
12+
options:
13+
- label: 我已在 [Issue Tracker](https://github.com/Aethersailor/Custom_OpenClash_Rules/issues) 中搜索过类似问题
14+
required: true
15+
- label: 我使用的是 OpenWrt/ImmortalWrt 官方固件(非第三方编译版)
16+
required: true
17+
- label: 我确认网络环境满足 IPv6-PD 要求
18+
required: true
19+
- label: "**我确认问题来源于“设置方案文档”本身,而非网络环境或操作失误**"
20+
required: true
21+
22+
- type: textarea
23+
id: describe_bug
24+
attributes:
25+
label: 文档问题描述 (Description)
26+
description: 指出现有 Wiki 文档中错误或不合理的地方。
27+
validations:
28+
required: true
29+
30+
- type: textarea
31+
id: describe_phenomenon
32+
attributes:
33+
label: 导致后果 (Consequence)
34+
description: 按照当前文档设置后会出现什么问题?
35+
validations:
36+
required: true
37+
38+
- type: textarea
39+
id: describe_solution
40+
attributes:
41+
label: 修正建议 (Optional)
42+
description: 如果你有更好的配置方案,欢迎分享。
43+
validations:
44+
required: false
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
name: 📘 OpenClash 设置文档错误 (OpenClash Doc Issue)
2+
description: 上报 OpenClash 设置文档中的逻辑错误或过时信息
3+
title: '[文档错误] OpenClash 设置方案问题'
4+
labels: ["documentation"]
5+
6+
body:
7+
- type: checkboxes
8+
id: verify_steps
9+
attributes:
10+
label: 前置确认 (Pre-check)
11+
description: 提交前请确认以下事项:
12+
options:
13+
- label: 我已在 [Issue Tracker](https://github.com/Aethersailor/Custom_OpenClash_Rules/issues) 中搜索过类似问题
14+
required: true
15+
- label: 我使用的是 OpenWrt/ImmortalWrt 官方固件(非第三方编译版)
16+
required: true
17+
- label: 我使用的是最新版本的 OpenClash (Dev) 和核心
18+
required: true
19+
- label: "**我确认问题来源于“设置方案文档”本身,而非网络环境或操作失误**"
20+
required: true
21+
22+
- type: input
23+
id: openclash_version
24+
attributes:
25+
label: OpenClash Version
26+
description: 例如:v0.45.169-beta
27+
placeholder: "v0.0.0-beta"
28+
validations:
29+
required: true
30+
31+
- type: textarea
32+
id: describe_bug
33+
attributes:
34+
label: 文档问题描述 (Description)
35+
description: 指出现有 Wiki 文档中错误或不合理的地方。
36+
validations:
37+
required: true
38+
39+
- type: textarea
40+
id: describe_phenomenon
41+
attributes:
42+
label: 导致后果 (Consequence)
43+
description: 按照当前文档设置后会出现什么问题?
44+
validations:
45+
required: true
46+
47+
- type: textarea
48+
id: describe_solution
49+
attributes:
50+
label: 修正建议 (Optional)
51+
description: 如果你有更好的配置方案,欢迎分享。
52+
validations:
53+
required: false
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: ✨ 增加规则或分组 (Add Rule/Group)
2+
description: 请求增加新的规则或分流策略组
3+
title: '[规则需] 增加 xxx 规则/分组'
4+
labels: ["enhancement"]
5+
6+
body:
7+
- type: checkboxes
8+
id: verify_steps
9+
attributes:
10+
label: 前置确认 (Pre-check)
11+
description: 提交前请确认:
12+
options:
13+
- label: 我确认当前模板中不包含此规则或分组
14+
required: true
15+
- label: 我知晓仅有 Full 模板支持自由扩展规则
16+
required: true
17+
- label: "**我可以提供该规则对应的可靠上游源**"
18+
required: true
19+
20+
- type: input
21+
id: rule_name
22+
attributes:
23+
label: 规则/分组名称 (Target Name)
24+
description: 例如:Paypal, OpenAI, Anime
25+
validations:
26+
required: true
27+
28+
- type: input
29+
id: source_link
30+
attributes:
31+
label: 上游规则链接 (Upstream Source)
32+
description: 必填。请提供可靠的规则源链接(如 Github URL)。
33+
validations:
34+
required: true
35+
36+
- type: textarea
37+
id: benefit
38+
attributes:
39+
label: 补充说明 (Context)
40+
description: 简述添加该规则的必要性或使用场景。
41+
validations:
42+
required: false
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
name: 🐛 模板错判上报 (Template Bug)
2+
description: 上报你在模板规则中发现的错误 (Bug report for template rules)
3+
title: '[模板错误] 简要描述问题'
4+
labels: ["bug"]
5+
6+
body:
7+
- type: checkboxes
8+
id: verify_steps
9+
attributes:
10+
label: 前置确认 (Pre-check)
11+
description: 提交前请确认以下事项,以减少无效沟通:
12+
options:
13+
- label: 我已在 [Issue Tracker](https://github.com/Aethersailor/Custom_OpenClash_Rules/issues) 中搜索过类似问题
14+
required: true
15+
- label: "**我确认这确实是本项目模板文件导致的规则分流错误**"
16+
required: true
17+
- label: 我使用的是 OpenWrt/ImmortalWrt 官方固件或官方 ImageBuilder,非第三方修改版
18+
required: true
19+
- label: 我使用的是最新版本的 OpenClash 和核心
20+
required: true
21+
- label: 我已阅读 [Wiki 故障排除](https://github.com/Aethersailor/Custom_OpenClash_Rules/wiki/%E6%95%85%E9%9A%9C%E6%8E%92%E9%99%A4) 章节但未能解决
22+
required: true
23+
24+
- type: input
25+
id: openclash_version
26+
attributes:
27+
label: OpenClash Version
28+
description: 例如:v0.45.169-beta
29+
placeholder: "v0.0.0-beta"
30+
validations:
31+
required: true
32+
33+
- type: dropdown
34+
id: bug_ini
35+
attributes:
36+
label: 涉及的模板文件 (Problematic File)
37+
description: 发现问题所在的模板
38+
multiple: true
39+
options:
40+
- Custom_Clash.ini
41+
- Custom_Clash_Full.ini
42+
- Custom_Clash_GFW.ini
43+
- Custom_Clash_Lite.ini
44+
- Custom_Clash_Mainland.ini
45+
validations:
46+
required: true
47+
48+
- type: textarea
49+
id: describe_bug
50+
attributes:
51+
label: Bug 描述 (Description)
52+
description: 请清晰描述规则错误的行为。例如:“域名 exmaple.com 应该走代理,但被直连了”。
53+
validations:
54+
required: true
55+
56+
- type: textarea
57+
id: describe_phenomenon
58+
attributes:
59+
label: 故障复现 (Reproduction)
60+
description: 描述如何复现该问题,或提供相关的日志片段。
61+
validations:
62+
required: true
63+
64+
- type: textarea
65+
id: describe_solution
66+
attributes:
67+
label: 建议修复方案 (Optional)
68+
description: 如果你知道如何修复此问题,请提供建议。
69+
validations:
70+
required: false

.github/workflows/README.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# 🤖 GitHub Workflows
2+
3+
这里存放了项目的自动化工作流配置。
4+
5+
## ⚙️ 分支说明
6+
7+
- 可选仓库变量:`WORK_BRANCH`
8+
- 用途:当默认分支被切换为占位空分支(如 `rm`)时,工作流会优先在 `WORK_BRANCH` 指定的真实工作分支上执行。
9+
- 默认行为:若未设置 `WORK_BRANCH`,多数流程回退到 `main`
10+
11+
## 📂 工作流列表
12+
13+
| 文件名 | 描述 | 触发条件 |
14+
| :--- | :--- | :--- |
15+
| **[auto-backup-wiki.yml](auto-backup-wiki.yml)** | 自动备份 GitHub Wiki 内容到仓库的 `wiki/` 目录,并处理链接替换 | 每 30 分钟 / 手动触发 |
16+
| **[auto-generate-rules.yml](auto-generate-rules.yml)** |`.list` 规则文件自动生成 `.yaml``.mrs` 格式的规则集 | `rule/*.list` 变更 / 手动触发 |
17+
| **[auto-update-game-cdn.yml](auto-update-game-cdn.yml)** | 从 v2fly 上游自动更新 `Game_Download_CDN.list` 规则文件 | 每 8 小时 / 手动触发 |
18+
| **[auto-update-mainland.yml](auto-update-mainland.yml)** | 根据 `Custom_Clash.ini` 自动生成 `Custom_Clash_Mainland.ini` | `cfg/Custom_Clash.ini` 变更 / 手动触发 |
19+
| **[clean_failed_cancelled_runs.yml](clean_failed_cancelled_runs.yml)** | 清理所有失败或取消的 Workflow 运行记录,并删除自身运行记录 | 手动触发 |
20+
| **[codeql.yml](codeql.yml)** | CodeQL 代码安全性分析(分析 Actions 和 Python) | Push / Pull Request / 每日定时 / 手动触发 |
21+
| **[dependabot-auto-merge.yml](dependabot-auto-merge.yml)** | 自动合并带有 `automerge` 标签的 Dependabot PR | Dependabot PR 打开/更新 |
22+
| **[purge-jsdelivr.yml](purge-jsdelivr.yml)** | 自动刷新 jsDelivr CDN 缓存,并实现防抖(60 秒等待批量合并提交) | `cfg/`, `rule/`, `game_rule/`, `shell/`, `overwrite/` 变更 / 手动触发 |
23+
| **[push-doc-to-wiki.yml](push-doc-to-wiki.yml)** |`doc/` 目录内容同步到 GitHub Wiki 的 `doc/` 目录 | `doc/**` 变更 / 手动触发 |
24+
| **[sync-doc-assets-to-wiki-doc.yml](sync-doc-assets-to-wiki-doc.yml)** |`doc/` 目录中的非 Markdown 资源同步到 `wiki/doc/` 供 Pages 使用 | `doc/**` 变更 / 手动触发 |
25+
| **[sync_custom_clash.yml](sync_custom_clash.yml)** | 同步 `Custom_Clash.ini` 到衍生项目 `Custom_Clash_Rules`,并调整分流规则 | `cfg/Custom_Clash.ini` 变更 / 手动触发 |
26+
27+
## 📂 子目录
28+
29+
- **[archived](archived/README.md)**: 存放已废弃或不再使用的工作流。
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# 🗄️ Archived Workflows
2+
3+
这里存放已废弃或不再使用的工作流。虽然不再运行,但保留以供参考。
4+
5+
## 📂 文件说明
6+
7+
| 文件名 | 描述 | 弃用原因 |
8+
| :--- | :--- | :--- |
9+
| **[generate_smart.yml](generate_smart.yml)** | 从标准 INI 模板生成 Smart 内核专用模板(替换 `url-test``smart`| OpenClash 已更新 Smart 覆写功能,此工作流已无必要 |
10+
| **[generate_smart_gfw.yml](generate_smart_gfw.yml)** | 从精简模板生成 Smart 专用模板 | OpenClash 已更新 Smart 覆写功能,此工作流已无必要 |
11+
| **[reject_cfg_prs.yml](reject_cfg_prs.yml)** | 自动拒绝非授权用户对 `/cfg` 目录的 PR(保护配置文件完整性) | 目前处于停用状态,按需恢复 |
12+
13+
> [!NOTE]
14+
> 这些工作流已停用,不会被 GitHub Actions 自动执行。如需使用,请将文件移回上级目录。

0 commit comments

Comments
 (0)