refactor: pass api token explicitly

This commit is contained in:
2026-05-15 04:03:30 +00:00
parent e2ac450541
commit 5b34178553
3 changed files with 37 additions and 14 deletions
+3
View File
@@ -80,8 +80,10 @@ jobs:
- `entrypoint.sh:122-181` `fetch_package_versions`
- `entrypoint.sh:183-241` `collect_package_candidates`
- `entrypoint.sh:243-286` `process_candidates`
- `entrypoint.sh:290-332` `main` 整合 / E2E 測試
- `entrypoint.sh(整體)` 新增測試程式碼與測試框架
- `entrypoint.sh(整體)` 端對端測試
- `entrypoint.sh:78-120` `api_request` mock 測試
- `entrypoint.sh:7` 結構化 logging
- `entrypoint.sh:105` 驗證 `GITEA_SERVER_URL`
- `entrypoint.sh:125-126,241` 暫存檔重用與 I/O 微調
@@ -89,3 +91,4 @@ jobs:
- `entrypoint.sh:204,215` 排序與日誌分離建議
- `entrypoint.sh:243-286` 重複 `url_encode` 進一步最佳化
- `entrypoint.sh:183-241` 改回掃描 owner 全量套件的 N+1 API 建議
- `entrypoint.sh:7-12` token 不使用 `export` 的安全偏好