11 Commits

Author SHA1 Message Date
jiantw83 ff5166bd22 Merge pull request 'chore: bump nuget-push action' (#9) from develop into master
Reviewed-on: #9
2026-05-18 04:41:01 +00:00
admin 24f7c2c5ce Merge pull request 'chore: bump nuget-push action' (#8) from feat/ai_code_review into develop
Reviewed-on: #8
2026-05-18 04:39:58 +00:00
jiantw83 6ff74695dc chore: bump nuget-push action 2026-05-18 04:38:07 +00:00
jiantw83 44bee3be1a Merge pull request 'chore: bump nuget-push action' (#7) from develop into master
Reviewed-on: #7
2026-05-18 04:22:13 +00:00
admin 0402d7caef Merge pull request 'chore: bump nuget-push action' (#6) from feat/ai_code_review into develop
Reviewed-on: #6
2026-05-18 04:21:36 +00:00
AI Review Bot fc3ea89c99 chore: update ai-review findings [ai-review-bot][success] 2026-05-18 04:20:28 +00:00
jiantw83 4cce4eae4c chore: bump nuget-push action 2026-05-18 04:19:20 +00:00
jiantw83 d364198f7c Merge pull request 'develop' (#5) from develop into master
Reviewed-on: #5
2026-05-16 16:12:09 +00:00
jiantw83 b8bd50cade Merge pull request 'feat: update workflow steps and add AI code review workflow' (#3) from develop into master
Reviewed-on: #3
2026-05-13 05:48:16 +00:00
jiantw83 1c8d8986b1 Merge pull request 'feat: 為每個步驟加上名稱' (#2) from develop into master
Reviewed-on: #2
2026-05-06 00:48:24 +00:00
jiantw83 284f11cd82 Merge pull request 'feat: 傳入存取權杖' (#1) from develop into master
Reviewed-on: #1
2026-05-06 00:39:31 +00:00
6 changed files with 9 additions and 6 deletions
+2 -1
View File
@@ -18,7 +18,7 @@ description: Triage findings, fix real issues, and exclude false positives.
- info - info
3. Renumber from 1. 3. Renumber from 1.
4. Fix real issues. 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. 6. Add tests when behavior changes.
## Output Rules ## Output Rules
@@ -26,4 +26,5 @@ description: Triage findings, fix real issues, and exclude false positives.
- Keep the final list short. - Keep the final list short.
- Keep numbering contiguous. - Keep numbering contiguous.
- Preserve file path, location, and fix. - 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. - 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. 4. Renumber the sorted list from 1 upward.
5. Rewrite each finding concisely so the final list reads cleanly and consistently. 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. 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 ## 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. - Keep numbering contiguous after filtering and merging.
- Preserve useful details like file path, location, and suggested fix. - Preserve useful details like file path, location, and suggested fix.
- Keep exclusions entries minimal and consistent with the project schema. - 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. - 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. - If the source already provides a severity or title, keep it unless it conflicts with the final ordering.
@@ -1,4 +1,4 @@
interface: interface:
display_name: "Triage Findings" display_name: "Triage Findings"
short_description: "Triage, sort, fix, and exclude review 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 - info
3. Renumber from 1. 3. Renumber from 1.
4. Fix real issues. 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. 6. Add tests when behavior changes.
## Output Rules ## Output Rules
@@ -26,4 +26,5 @@ description: Triage findings, fix real issues, and exclude false positives.
- Keep the final list short. - Keep the final list short.
- Keep numbering contiguous. - Keep numbering contiguous.
- Preserve file path, location, and fix. - 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. - 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`. 3. Sort by severity: `critical` -> `warning` -> `info`.
4. Renumber from 1. 4. Renumber from 1.
5. Fix real issues with the smallest safe change. 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. 7. Add or update tests when behavior changes.
8. Re-check after each fix. 8. Re-check after each fix.
+1 -1
View File
@@ -27,7 +27,7 @@ runs:
files: | files: |
${{ inputs.PROJECT_NAME }}.${{ inputs.RELEASE_VERSION }}.zip ${{ inputs.PROJECT_NAME }}.${{ inputs.RELEASE_VERSION }}.zip
- name: 推送套件 - name: 推送套件
uses: https://gitea.jsc.idv.tw/actions/nuget-push@v0.1.7 uses: https://gitea.jsc.idv.tw/actions/nuget-push@v0.1.9
with: with:
RELEASE_VERSION: ${{ inputs.RELEASE_VERSION }} RELEASE_VERSION: ${{ inputs.RELEASE_VERSION }}
RUNNER_TOKEN: ${{ inputs.RUNNER_TOKEN }} RUNNER_TOKEN: ${{ inputs.RUNNER_TOKEN }}