Compare commits

..

5 Commits

Author SHA1 Message Date
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
2 changed files with 5 additions and 3 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@v6
- name: Make directory
run: |
@@ -117,7 +119,7 @@ jobs:
mv ruleset ./publish/
- name: Release and upload assets
uses: softprops/action-gh-release@v2
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 自动构建,保证规则最新。