Skip to content

Commit

Permalink
Initial commit on new_branch
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Dec 17, 2024
0 parents commit d21a683
Show file tree
Hide file tree
Showing 21 changed files with 367,346 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/ISSUE_TEMPLATE/--------.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
name: "[新增隐私拦截]"
about: 我发现了未拦截的隐私追踪
title: "[新增隐私拦截]"
labels: ''
assignees: ''

---

域名:
过滤规则:
出现场景:
补充说明:
发生时间: 年 月 日
使用的列表版本: (如2020082701)
15 changes: 15 additions & 0 deletions .github/ISSUE_TEMPLATE/-------.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
name: "[报告误拦截]"
about: 规则错误的拦截导致网页加载失败
title: "[误杀]"
labels: bug, wontfix
assignees: uniartisan

---

域名:
发生时间: 年 月 日
使用的列表: (adblock_lite/basic/plus/privacy)
使用的列表版本: (如2020082701)
浏览器及广告过滤插件:
问题描述:
19 changes: 19 additions & 0 deletions .github/ISSUE_TEMPLATE/---.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: "[新增广告拦截]"
about: 我发现了未拦截的浏览广告
title: "[新增广告拦截]"
labels:
assignees:

---

域名:
发生时间: 年 月 日
使用的列表: (adblock_lite/basic/plus)
使用的列表版本: (如2020082701)
浏览器及广告过滤插件:
问题描述:



注意: 如果您使用的是 adblock_basic 列表,您应该先尝试使用 adblock_plus,adblock_basic 是主要面向于中文(尤其是指中国境内)网站而制作的过滤列表。
20 changes: 20 additions & 0 deletions .github/workflows/greetings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Greetings

on: [pull_request, issues]

jobs:
greeting:
runs-on: ubuntu-latest
steps:
- uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.PRIVATE_TOKEN }}

pr-message: |
Hello @${{ github.actor }}, thank you for submitting a PR! To allow your work to be integrated as seamlessly as possible, we advise you to:
- Verify your PR is **up-to-date with origin/master.
- Please check out our contributing guidelines.
issue-message: |
Hello @${{ github.actor }}, thank you for your interest in our work! It’s people like you who make our work better!
59 changes: 59 additions & 0 deletions .github/workflows/new.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: Automatic Commit

on:
# push推送时触发
push:
branches:
- master
# 定时任务触发
schedule:
# 每天北京时间1点运行
- cron: '0 1 * * *'
workflow_dispatch:

jobs:
build:

runs-on: ubuntu-latest


steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup
uses: actions/setup-python@v5
with:
python-version: '3.x'
- run: pip install requests wget

- name: Clear old files
env:
TZ: Asia/Shanghai
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git checkout --orphan new_branch
git commit -m "Initial commit on new_branch"
git branch -D master
git branch -m new_branch master
git push --set-upstream origin master -f
- name: Update
run: python ./scripts/tools/adblock.py

- name: Commit
env:
TZ: Asia/Shanghai
run: |
git add -A
git commit -m \
":pencil: Update at \
$(date +"%Y-%m-%d %H:%M") \
"
- name: Push
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.PRIVATE_TOKEN }}
12 changes: 12 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@

.vscode/launch.json
.ssh/id_rsa
*.pub
.bashrc
.bash_history
.gitconfig
.profile
.ssh/known_hosts
.wget-hsts
scripts/tools/__pycache__/*.pyc
.vscode/settings.json
Loading

0 comments on commit d21a683

Please sign in to comment.