diff --git a/.github/workflows/ci-test.yml b/.github/workflows/ci-test.yml index f2d4d6b..d8e15ed 100644 --- a/.github/workflows/ci-test.yml +++ b/.github/workflows/ci-test.yml @@ -28,6 +28,7 @@ jobs: - name: Checkout repository uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd with: + ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} fetch-depth: 1 persist-credentials: false @@ -46,6 +47,8 @@ jobs: with: sarif_file: bandit-results.sarif category: bandit + ref: ${{ github.event_name == 'pull_request' && format('refs/heads/{0}', github.head_ref) || github.ref }} + sha: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} detect-secrets-scan: name: CI-Tests / detect-secrets diff --git a/docs/TECHNICAL_OVERVIEW.md b/docs/TECHNICAL_OVERVIEW.md index 82266b7..09786cb 100644 --- a/docs/TECHNICAL_OVERVIEW.md +++ b/docs/TECHNICAL_OVERVIEW.md @@ -47,7 +47,7 @@ src/main.py | `mod_file_installer.py` | 模組下載、原子替換、回滾、匯入、刪除、啟停 | | `mod_provider_resolver.py` | provider metadata、slug / project id 正規化與搜尋 fallback | | `version_manager.py` | Minecraft 版本列表查詢 | -| `loader_manager.py` | Fabric/Forge 版本查詢與 TTL 快取 | +| `loader_manager.py` | Fabric/Forge/Quilt/NeoForge 版本查詢與 TTL 快取 | ### `src/ui/` diff --git a/docs/USER_GUIDE.md b/docs/USER_GUIDE.md index 7bab3f1..776cdc0 100644 --- a/docs/USER_GUIDE.md +++ b/docs/USER_GUIDE.md @@ -43,7 +43,7 @@ 1. 前往「**建立伺服器**」頁面 2. 輸入名稱、選擇 Minecraft 版本 -3. 選擇載入器:Vanilla/Fabric/Forge +3. 選擇載入器:Vanilla/Fabric/Forge/Quilt/NeoForge 4. 設定記憶體用量 5. 按下「**建立**」,程式會自動下載所需檔案