Skip to content

Commit 321cfed

Browse files
committed
Reset.Git Size
0 parents  commit 321cfed

32 files changed

+947647
-0
lines changed

.gitattributes

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[attr]adb linguist-detectable linguist-language=Adblock
2+
[attr]hosts linguist-detectable linguist-language=Hosts
3+
4+
# Fix language classification on GitHub.com
5+
/*.txt adb
6+
/*_hosts hosts linguist-generated
7+
/robots.txt -adb

.github/FUNDING.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
github: Silentely
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: 'Auto cleaning of workflow logs'
2+
3+
on:
4+
schedule:
5+
- cron: '0 0 * * 0'
6+
workflow_dispatch:
7+
8+
jobs:
9+
del_workflow:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Delete workflow runs
13+
uses: GitRML/delete-workflow-runs@main
14+
with:
15+
retain_days: '7'
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: 'Auto handle issue'
2+
3+
on:
4+
schedule:
5+
- cron: '0 0 * * 0'
6+
workflow_dispatch:
7+
issues:
8+
types: [opened]
9+
10+
jobs:
11+
automatic_issues:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: 自动关闭有done标签且7天内无回复的issue
15+
if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
16+
uses: actions-cool/[email protected]
17+
with:
18+
actions: 'close-issues'
19+
labels: 'done'
20+
inactive-day: 7
21+
body: |
22+
此issue已经被添加了done标签且已经超过7天没有活跃,为了减少issue数量此issue将被自动关闭,如此issue问题仍未解决请手动重新打开本issue
23+
24+
--------------------------------------------------------------------------------------- 来自 AdBlock-Acceleration issues自动管理姬
25+
contents: 'laugh,heart,rocket'
26+
27+
- name: 自动回复新建的issue
28+
if: github.event_name == 'issues' && github.event.action == 'opened' && github.event.issue.author_association != 'OWNER'
29+
uses: actions-cool/[email protected]
30+
with:
31+
actions: 'create-comment'
32+
issue-number: ${{ github.event.issue.number }}
33+
body: |
34+
你好 @${{ github.event.issue.user.login }} 欢迎创建issue。
35+
1. 如果遇到问题(bug),请说明执行环境,并详细阐述问题情况以便于复现和解决问题。
36+
2. 如果想增加新的功能,请说明这个功能手动实现的过程(pc网页端和app上是如何操作并实现的,尽可能附上相应的网页地址)
37+
38+
--------------------------------------------------------------------------------------- 来自 AdBlock-Acceleration issues自动管理姬
39+
contents: 'laugh,heart,rocket'
Lines changed: 161 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,161 @@
1+
name: 'Auto Update AdBlock'
2+
on:
3+
# push:
4+
# branches:
5+
# - main
6+
schedule:
7+
- cron: '0 */6 * * *'
8+
workflow_dispatch:
9+
# watch:
10+
# types: started
11+
12+
13+
jobs:
14+
update:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Checkout Repo
18+
uses: actions/[email protected]
19+
20+
- name: AdGuard DNS filter #AdGuard 官方维护的广告规则,涵盖多种过滤规则
21+
uses: carlosperate/[email protected]
22+
with:
23+
file-url: https://adguardteam.github.io/AdGuardSDNSFilter/Filters/filter.txt
24+
file-name: AdGuard_Simplified_Domain_Names_Filter.txt
25+
26+
- name: Anti-AD #号称是目前中文区命中率最高的广告过滤列表,实现了精确的广告屏蔽和隐私保护
27+
uses: carlosperate/[email protected]
28+
with:
29+
file-url: https://anti-ad.net/easylist.txt
30+
file-name: Anti_AD_Easylist.txt
31+
32+
- name: EasyList China #面向中文用户的 EasyList 去广告规则
33+
uses: carlosperate/[email protected]
34+
with:
35+
file-url: https://easylist-downloads.adblockplus.org/easylistchina.txt
36+
file-name: EasyList_China.txt
37+
38+
- name: EasyPrivacy #反隐私跟踪、挖矿规则
39+
uses: carlosperate/[email protected]
40+
with:
41+
file-url: https://easylist.to/easylist/easyprivacy.txt
42+
file-name: EasyPrivacy.txt
43+
44+
#- name: I dont care about cookies #屏蔽网站的Cookies警告
45+
# uses: carlosperate/[email protected]
46+
# with:
47+
# file-url: https://www.i-dont-care-about-cookies.eu/abp/
48+
# file-name: I_dont_care_about_cookies.txt
49+
50+
- name: HalfLife #涵盖了 EasyList China、EasyList Lite、CJX ’s Annoyance、乘风视频过滤规则,以及补充的其它规则
51+
uses: carlosperate/[email protected]
52+
with:
53+
file-url: https://raw.githubusercontent.com/o0HalfLife0o/list/master/ad.txt
54+
file-name: HalfLife.txt
55+
56+
- name: CJX's EasyList Lite
57+
uses: carlosperate/[email protected]
58+
with:
59+
file-url: https://raw.githubusercontent.com/cjx82630/cjxlist/master/cjxlist.txt
60+
file-name: CJX's_EasyList_Lite.txt
61+
62+
- name: CJX's Annoyance List
63+
uses: carlosperate/[email protected]
64+
with:
65+
file-url: https://raw.githubusercontent.com/cjx82630/cjxlist/master/cjx-annoyance.txt
66+
file-name: CJX's_Annoyance_List.txt
67+
68+
- name: Xinggsf_rule #乘风通用广告过滤规则
69+
uses: carlosperate/[email protected]
70+
with:
71+
file-url: https://raw.githubusercontent.com/xinggsf/Adblock-Plus-Rule/master/rule.txt
72+
file-name: Xinggsf_rule.txt
73+
74+
- name: Xinggsf_mv #乘风视频广告过滤规则
75+
uses: carlosperate/[email protected]
76+
with:
77+
file-url: https://raw.githubusercontent.com/xinggsf/Adblock-Plus-Rule/master/mv.txt
78+
file-name: Xinggsf_mv.txt
79+
80+
- name: Fanboy's Social Blocking List #禁止社交媒体图标列表
81+
uses: carlosperate/[email protected]
82+
with:
83+
file-url: https://easylist-downloads.adblockplus.org/fanboy-social.txt
84+
file-name: Fanboy-social.txt
85+
86+
- name: ADgk #手机去广告
87+
uses: carlosperate/[email protected]
88+
with:
89+
file-url: https://raw.githubusercontent.com/banbendalao/ADgk/master/ADgk.txt
90+
file-name: ADgk.txt
91+
92+
- name: 大圣净化 #针对国内视频网站
93+
uses: carlosperate/[email protected]
94+
with:
95+
file-url: https://raw.githubusercontent.com/jdlingyu/ad-wars/master/hosts
96+
file-name: ds_hosts.txt
97+
98+
- name: 1024_hosts #去色情网站和澳门皇家赌场
99+
uses: carlosperate/[email protected]
100+
with:
101+
file-url: https://raw.githubusercontent.com/Goooler/1024_hosts/master/hosts
102+
file-name: 1024_hosts.txt
103+
104+
- name: iOSAdblockList #海外维护针对移动网站的广告主机列表
105+
uses: carlosperate/[email protected]
106+
with:
107+
file-url: https://raw.githubusercontent.com/BlackJack8/iOSAdblockList/master/Hosts.txt
108+
file-name: iPv4_hosts.txt
109+
110+
- name: StevenBlack #国外维护比较知名的屏幕广告主机列表,整合和扩展多个精心设计的主机文件
111+
uses: carlosperate/[email protected]
112+
with:
113+
file-url: https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
114+
file-name: Steven_hosts
115+
116+
- name: Hblock #自动提取来自很多规则源的恶意广告主机列表
117+
uses: carlosperate/[email protected]
118+
with:
119+
file-url: https://hblock.molinero.dev/hosts
120+
file-name: Hblock_hosts
121+
122+
# - name: Malware Domain List #恶意软件过滤规则
123+
# uses: carlosperate/[email protected]
124+
# with:
125+
# file-url: https://www.malwaredomainlist.com/hostslist/hosts.txt
126+
# file-name: Malware_host.txt
127+
128+
- name: Adblock Warning Removal List #去除禁止广告拦截提示规则
129+
uses: carlosperate/[email protected]
130+
with:
131+
file-url: https://easylist-downloads.adblockplus.org/antiadblockfilters.txt
132+
file-name: antiadblockfilters.txt
133+
134+
- name: Fanboy’s Annoyances List #去除页面弹窗广告规则
135+
uses: carlosperate/[email protected]
136+
with:
137+
file-url: https://secure.fanboy.co.nz/fanboy-annoyance.txt
138+
file-name: fanboy-annoyance.txt
139+
140+
- name: Commit Changes
141+
env:
142+
TZ: Asia/Shanghai
143+
run: |
144+
if [ -z "$(git status --porcelain)" ]; then
145+
exit 0
146+
else
147+
git add .
148+
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
149+
git config --local user.name "github-actions bot"
150+
git commit -m ":pencil: Update at $(date +"%Y-%m-%d %H:%M")" -a
151+
fi
152+
153+
- name: GitHub Push #推送至库
154+
uses: ad-m/[email protected]
155+
with:
156+
github_token: ${{ secrets.TOKEN }}
157+
branch: main
158+
159+
160+
# - name: WeChat notification #用于微信推送通知(如有需要删除行头注释)
161+
# run: curl https://sc.ftqq.com/${{ secrets.ServerChan }}.send?text=${{ env.FILE_NAME }}AdBlock规则已更新
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: 'issue-translator'
2+
on:
3+
issue_comment:
4+
types: [created]
5+
issues:
6+
types: [opened]
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: tomsun28/[email protected]
13+
with:
14+
IS_MODIFY_TITLE: false
15+
CUSTOM_BOT_NOTE: Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿
16+

0 commit comments

Comments
 (0)