Refactor code structure for improved readability and maintainability

This commit is contained in:
shuaiplus
2026-02-15 02:21:55 +08:00
parent 719024d0fd
commit c5d3052080
11 changed files with 3791 additions and 619 deletions
+28
View File
@@ -0,0 +1,28 @@
name: Sync upstream
on:
schedule:
- cron: "0 3 * * *"
workflow_dispatch:
permissions:
contents: write
jobs:
sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: |
git remote add upstream https://github.com/shuaiplus/nodewarden.git || true
git fetch upstream
# 强制让当前分支完全等于 upstream
git reset --hard upstream/main
# 强制推送
git push origin main --force