From b6ce49032daddd1845d9a9352bb544b8ba28fc0e Mon Sep 17 00:00:00 2001 From: Jeffery Date: Fri, 15 May 2026 10:23:37 +0000 Subject: [PATCH 1/2] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20action.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- action.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/action.yml b/action.yml index e3f193e..e93c494 100644 --- a/action.yml +++ b/action.yml @@ -6,11 +6,7 @@ runs: steps: - name: 取得專案 uses: actions/checkout@v6 - - name: 快取 NuGet 套件 - id: cache-nuget - uses: https://gitea.jsc.idv.tw/actions/cache-nuget@v0.0.3 - name: 復原專案 - if: steps.cache-nuget.outputs.cache-hit != 'true' run: | if [[ -f "nuget.config" ]]; then dotnet restore --configfile nuget.config From 57796e9e3475d3405693ef9ccd663dfc4e4f2751 Mon Sep 17 00:00:00 2001 From: Jeffery Date: Fri, 15 May 2026 10:27:18 +0000 Subject: [PATCH 2/2] chore: add exclusion for NuGet restore step recommendation Co-authored-by: Copilot --- .gitea/ai-review/exclusions.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.gitea/ai-review/exclusions.json b/.gitea/ai-review/exclusions.json index a8eaf55..fef9291 100644 --- a/.gitea/ai-review/exclusions.json +++ b/.gitea/ai-review/exclusions.json @@ -55,6 +55,11 @@ "id": 11, "title": "將 NUGET 更正為 NuGet 的命名建議", "reason": "列入排除問題" + }, + { + "id": 12, + "title": "移除 NuGet restore 步驟的建議(action.yml:9)", + "reason": "審查意見:建議移除或改為使用快取以避免每次工作流程下載相依套件;此項目列入排除" } ] }