Compare commits

..

24 Commits

Author SHA1 Message Date
GitHub Action
b08e659514 定期更新数据并生成 gfw.pac 2025-05-01 00:40:47 +00:00
GitHub Action
1a511c81ef 定期更新数据并生成 gfw.pac 2025-04-24 00:35:46 +00:00
GitHub Action
e084116209 定期更新数据并生成 gfw.pac 2025-04-17 00:35:28 +00:00
GitHub Action
64f75179f5 自动生成 gfw.pac: 增加gr.global.aa-rt.sharepoint.com到onedrive直连域名 2025-04-10 05:23:58 +00:00
zhiyi
948a002d73 增加gr.global.aa-rt.sharepoint.com到onedrive直连域名 2025-04-10 13:23:46 +08:00
GitHub Action
046401ec20 定期更新数据并生成 gfw.pac 2025-04-10 00:34:51 +00:00
GitHub Action
9cf413c43c 定期更新数据并生成 gfw.pac 2025-04-03 00:34:34 +00:00
GitHub Action
601b549b31 定期更新数据并生成 gfw.pac 2025-03-27 00:34:35 +00:00
GitHub Action
6b65baa275 定期更新数据并生成 gfw.pac 2025-03-20 00:33:42 +00:00
GitHub Action
8c52b77a03 定期更新数据并生成 gfw.pac 2025-03-13 00:34:11 +00:00
GitHub Action
02f24366f5 定期更新数据并生成 gfw.pac 2025-03-06 00:33:48 +00:00
GitHub Action
419485dde2 定期更新数据并生成 gfw.pac 2025-02-27 00:33:11 +00:00
GitHub Action
2a1c178d3a 定期更新数据并生成 gfw.pac 2025-02-20 00:32:57 +00:00
GitHub Action
ab03a97789 定期更新数据并生成 gfw.pac 2025-02-13 00:32:19 +00:00
GitHub Action
ac4fb7b19b 定期更新数据并生成 gfw.pac 2025-02-06 00:32:21 +00:00
GitHub Action
f810a66b0c 定期更新数据并生成 gfw.pac 2025-01-30 00:31:19 +00:00
GitHub Action
e6129a6dd4 定期更新数据并生成 gfw.pac 2025-01-23 00:31:48 +00:00
GitHub Action
f1df8acaba 定期更新数据并生成 gfw.pac 2025-01-16 00:31:43 +00:00
GitHub Action
7add95746e 定期更新数据并生成 gfw.pac 2025-01-09 00:32:39 +00:00
GitHub Action
9622bd4456 定期更新数据并生成 gfw.pac 2025-01-02 00:32:02 +00:00
GitHub Action
3949a407b0 定期更新数据并生成 gfw.pac 2024-12-26 00:31:59 +00:00
GitHub Action
8b51175a34 定期更新数据并生成 gfw.pac 2024-12-19 00:34:09 +00:00
GitHub Action
bdc53dd5ca 定期更新数据并生成 gfw.pac 2024-12-12 00:35:00 +00:00
zhiyi
f3d1085c2d 改改workflow 2024-12-05 17:59:43 +08:00
4 changed files with 3151 additions and 2525 deletions

View File

@@ -11,7 +11,6 @@ on:
- 'direct-domains.txt'
- 'proxy-domains.txt'
- 'cidrs-cn.txt'
- '!gfw.pac'
workflow_dispatch:
jobs:
@@ -21,13 +20,25 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
- name: Check if gfw.pac is in the commit
id: check-file
run: |
if git diff --name-only HEAD^ HEAD | grep -q 'gfw\.pac'; then
echo "file-exists=true" >> $GITHUB_ENV
else
echo "file-exists=false" >> $GITHUB_ENV
fi
- name: Download the latest cn.txt
if: env.file-exists == 'false'
run: curl -L https://raw.githubusercontent.com/Loyalsoldier/geoip/release/text/cn.txt -o cidrs-cn.txt
- name: Run gfw-pac.py script
if: env.file-exists == 'false'
run: ./gfw-pac.py -f gfw.pac -p "PROXY 127.0.0.1:3128" --proxy-domains=proxy-domains.txt --direct-domains=direct-domains.txt --localtld-domains=local-tlds.txt --ip-file=cidrs-cn.txt
- name: Commit and push changes
if: env.file-exists == 'false'
run: |
last_commit_message=$(git log -1 --pretty=%B)
commit_message=$([[ "${{ github.event_name }}" == "schedule" ]] && echo "定期更新数据并生成 gfw.pac" || echo "自动生成 gfw.pac: $last_commit_message")
@@ -38,6 +49,7 @@ jobs:
git push
- name: Trigger Auto-Release
if: env.file-exists == 'false'
uses: benc-uk/workflow-dispatch@v1
with:
workflow: Auto Generate Release

View File

File diff suppressed because it is too large Load Diff

View File

@@ -132,6 +132,7 @@ ocsp.digicert.cn
ocsp.dcocsp.cn
api.onedrive.com
storage.live.com
gr.global.aa-rt.sharepoint.com
skyapi.live.net
roaming.officeapps.live.com
blob.core.windows.net

View File

File diff suppressed because one or more lines are too long