27 Commits

Author SHA1 Message Date
jiantw83 7f86753c96 Merge pull request 'develop' (#26) from develop into master
Reviewed-on: #26
2026-05-18 04:37:08 +00:00
admin 5c54e23b0a Merge pull request 'fix: allow insecure nuget push connections' (#24) from feat/ai_code_review into develop
Reviewed-on: #24
2026-05-18 04:33:59 +00:00
AI Review Bot a6fdb07302 chore: update ai-review findings [ai-review-bot][success] 2026-05-18 04:33:41 +00:00
jiantw83 a9e957db63 fix: allow insecure nuget push connections 2026-05-18 04:31:44 +00:00
jiantw83 952b658b9d Merge pull request 'develop' (#23) from develop into master
Reviewed-on: #23
2026-05-18 04:08:36 +00:00
jiantw83 8e278659c0 Merge pull request 'fix: escape section separator printf' (#22) from feat/ai_code_review into develop
Reviewed-on: #22
2026-05-18 04:07:09 +00:00
AI Review Bot 6192b2099d chore: update ai-review findings [ai-review-bot][success] 2026-05-18 04:06:58 +00:00
jiantw83 83da83560c fix: escape section separator printf 2026-05-18 04:05:03 +00:00
jiantw83 08c8ff60d5 Merge pull request 'fix: adjust workflow review permissions' (#21) from develop into master
Reviewed-on: #21
2026-05-16 15:39:03 +00:00
jiantw83 b929d610df Merge pull request 'feat: update master.yaml job names and add review.yaml for AI code review' (#19) from develop into master
Reviewed-on: #19
2026-05-13 03:17:58 +00:00
jiantw83 b137b2ea6e Merge pull request '更新 action.yaml' (#17) from develop into master
Reviewed-on: #17
2026-05-06 00:38:00 +00:00
jiantw83 867b696bd8 Merge pull request 'feat: 優先取得使用者的秘密參數,次則 Gitea 預設的 Token' (#16) from develop into master
Reviewed-on: #16
2026-03-25 07:01:30 +00:00
jiantw83 848d9938f8 Merge pull request '更新 action.yaml' (#15) from develop into master
Reviewed-on: #15
Reviewed-by: 系統管理員 <admin@noreply.localhost>
2026-03-25 06:42:07 +00:00
jiantw83 b6a52e20b1 Merge pull request '更新 action.yaml' (#14) from develop into master
Reviewed-on: #14
2026-03-25 02:46:26 +00:00
jiantw83 4fd5c3bcd5 Merge pull request '更新 Dockerfile' (#13) from develop into master
Reviewed-on: #13
2026-03-23 10:10:39 +00:00
jiantw83 fcd4050b51 Merge pull request 'feat: 如果成品名稱或連結為空,則讓工作失敗' (#12) from develop into master
Reviewed-on: #12
2026-03-23 02:00:48 +00:00
jiantw83 0d64da685d Merge pull request 'feat: 變更取得存取庫擁有者的參數' (#11) from develop into master
Reviewed-on: #11
2026-03-21 12:28:42 +00:00
jiantw83 5dc21503ef Merge pull request 'feat: 更新 CD 版本' (#10) from develop into master
Reviewed-on: #10
2026-03-21 11:58:34 +00:00
jiantw83 e5d6e71f8e Merge pull request 'feat: 重構 nuget push 工具' (#9) from develop into master
Reviewed-on: #9
2026-03-20 07:22:01 +00:00
jiantw83 f7e127d20c Merge pull request 'fix: 安裝 docker 套件' (#8) from develop into master
Reviewed-on: #8
2026-03-20 06:42:45 +00:00
jiantw83 a25a8c667e Merge pull request 'fix: 解決 error: Unrecognized option '--allow-insecure-connections'' (#7) from develop into master
Reviewed-on: #7
2026-03-20 06:39:49 +00:00
jiantw83 d9398a0d21 Merge pull request 'feat: 改成 docker action' (#6) from develop into master
Reviewed-on: #6
2026-03-20 06:34:02 +00:00
jiantw83 cc4e434c29 Merge pull request '更新 .gitea/workflows/master.yaml' (#5) from develop into master
Reviewed-on: #5
2026-03-05 08:08:40 +00:00
jiantw83 692079c188 Merge pull request '更新 .gitea/workflows/master.yaml' (#4) from develop into master
Reviewed-on: #4
2026-03-05 08:02:50 +00:00
admin 6b7d05fc56 Merge pull request '更新 .gitea/workflows/master.yaml' (#3) from develop into master
Reviewed-on: http://192.168.1.201:3000/actions/nuget-push/pulls/3
Reviewed-by: 系統管理員 <admin@noreply.localhost>
2026-03-05 07:05:19 +00:00
jiantw83 efe744a214 Merge pull request '更新 .gitea/workflows/master.yaml' (#2) from develop into master
Reviewed-on: http://192.168.1.201:3000/actions/nuget-push/pulls/2
2026-03-05 07:03:09 +00:00
jiantw83 e30d6d83db Merge pull request '更新 action.yaml' (#1) from develop into master
Reviewed-on: http://192.168.1.201:3000/actions/nuget-push/pulls/1
2026-03-05 07:02:01 +00:00
6 changed files with 11 additions and 7 deletions
+2 -1
View File
@@ -18,7 +18,7 @@ description: Triage findings, fix real issues, and exclude false positives.
- info
3. Renumber from 1.
4. Fix real issues.
5. Put false positives into `.gitea/ai-review/exclusions.json`, preserving the original wording, language, and semantics as much as possible.
5. Put false positives into `.gitea/ai-review/exclusions.json` as a top-level JSON array, preserving the original wording, language, and semantics as much as possible. Do not wrap the array in `exclusions` or `excluded_findings`.
6. Add tests when behavior changes.
## Output Rules
@@ -26,4 +26,5 @@ description: Triage findings, fix real issues, and exclude false positives.
- Keep the final list short.
- Keep numbering contiguous.
- Preserve file path, location, and fix.
- When writing exclusions, always output a top-level JSON array.
- When writing exclusions, prefer the original issue text over paraphrased rewrites.
+2 -1
View File
@@ -21,7 +21,7 @@ It is also used when some findings are false positives and should be moved into
4. Renumber the sorted list from 1 upward.
5. Rewrite each finding concisely so the final list reads cleanly and consistently.
6. If a finding is a false positive, do not keep it in the final list.
7. Add false positives to the exclusions list using the existing schema in the repo or task context, and preserve the original finding wording as much as possible, including language and semantics.
7. Add false positives to the exclusions list as a top-level JSON array in `.gitea/ai-review/exclusions.json`, and preserve the original finding wording as much as possible, including language and semantics. Do not wrap the array in `exclusions` or `excluded_findings`.
## Resolution Flow
@@ -41,5 +41,6 @@ After the list is merged and ordered, resolve the remaining findings one by one.
- Keep numbering contiguous after filtering and merging.
- Preserve useful details like file path, location, and suggested fix.
- Keep exclusions entries minimal and consistent with the project schema.
- When writing exclusions, always output a top-level JSON array.
- When writing exclusions, prefer the original issue text and language; only paraphrase if needed to fit the schema.
- If the source already provides a severity or title, keep it unless it conflicts with the final ordering.
@@ -1,4 +1,4 @@
interface:
display_name: "Triage Findings"
short_description: "Triage, sort, fix, and exclude review findings"
default_prompt: "Use $triage-findings to merge review findings, sort and renumber them by severity, resolve real issues one by one, and add false positives to exclusions."
default_prompt: "Use $triage-findings to merge review findings, sort and renumber them by severity, resolve real issues one by one, and add false positives to `.gitea/ai-review/exclusions.json` as a top-level JSON array."
+2 -1
View File
@@ -18,7 +18,7 @@ description: Triage findings, fix real issues, and exclude false positives.
- info
3. Renumber from 1.
4. Fix real issues.
5. Put false positives into `.gitea/ai-review/exclusions.json`, preserving the original wording, language, and semantics as much as possible.
5. Put false positives into `.gitea/ai-review/exclusions.json` as a top-level JSON array, preserving the original wording, language, and semantics as much as possible. Do not wrap the array in `exclusions` or `excluded_findings`.
6. Add tests when behavior changes.
## Output Rules
@@ -26,4 +26,5 @@ description: Triage findings, fix real issues, and exclude false positives.
- Keep the final list short.
- Keep numbering contiguous.
- Preserve file path, location, and fix.
- When writing exclusions, always output a top-level JSON array.
- When writing exclusions, prefer the original issue text over paraphrased rewrites.
+1 -1
View File
@@ -7,7 +7,7 @@ Use the triage-finding workflow for review issue lists:
3. Sort by severity: `critical` -> `warning` -> `info`.
4. Renumber from 1.
5. Fix real issues with the smallest safe change.
6. Put false positives into `.gitea/ai-review/exclusions.json`, preserving the original wording, language, and semantics as much as possible.
6. Put false positives into `.gitea/ai-review/exclusions.json` as a top-level JSON array, preserving the original wording, language, and semantics as much as possible. Do not wrap the array in `exclusions` or `excluded_findings`.
7. Add or update tests when behavior changes.
8. Re-check after each fix.
+3 -2
View File
@@ -5,7 +5,7 @@ set -Eeuo pipefail
section() {
printf '\n==================================================\n'
printf '%s\n' "$1"
printf '--------------------------------------------------\n'
printf -- '--------------------------------------------------\n'
}
require_value() {
@@ -119,7 +119,8 @@ for nuget_package in "${nuget_packages[@]}"; do
dotnet nuget push "$nuget_package" \
--source "$nuget_source" \
--api-key "$RUNNER_TOKEN" \
--skip-duplicate
--skip-duplicate \
--allow-insecure-connections
done
section "完成"